aboutsummaryrefslogtreecommitdiffstats
path: root/src/myfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/myfprintf.c2
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;