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 d4d26c8..9837572 100644
--- a/src/network.c
+++ b/src/network.c
@@ -108,7 +108,7 @@ write_message (int fd, const char *fmt, ...)
va_end (ap);
/* If that worked, break out so we can send the buffer */
- if (n > -1 && n < size)
+ if (n > -1 && (size_t)n < size)
break;
/* Else, try again with more space */