diff options
Diffstat (limited to 'src/myfprintf.c')
-rw-r--r-- | src/myfprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/myfprintf.c b/src/myfprintf.c index fdea2b78f..2f8ea7723 100644 --- a/src/myfprintf.c +++ b/src/myfprintf.c @@ -30,7 +30,7 @@ static void blockingWrite(const int fd, const char *string, size_t len) { while (len) { ssize_t ret = xwrite(fd, string, len); - if (ret == len) + if (ret == (ssize_t)len) return; if (ret >= 0) { len -= ret; |