summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c
index 22dfadf..60ec9e8 100644
--- a/src/network.c
+++ b/src/network.c
@@ -56,7 +56,7 @@ safe_write (int fd, const char *buffer, size_t count)
return -errno;
}
- if (len == bytestosend)
+ if ((size_t)len == bytestosend)
break;
buffer += len;