diff options
Diffstat (limited to 'crypt.c')
-rw-r--r-- | crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ int main(int argc, char **argv) if ((printed = printf("%s\n", hash)) < 0) { error(strerror(errno)); } - if (printed != strlen(hash) + 1) { /* +1 for newline */ + if ((unsigned) printed < strlen(hash) + 1) { /* +1 for newline */ error("Incomplete print"); } |