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 6f0da2fdd..dac58ab34 100644
--- a/src/myfprintf.c
+++ b/src/myfprintf.c
@@ -36,7 +36,7 @@
static void blockingWrite(const int fd, const char *string, size_t len)
{
while (len) {
- size_t ret = xwrite(fd, string, len);
+ ssize_t ret = xwrite(fd, string, len);
if (ret == len)
return;
if (ret >= 0) {