summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 47ce2bac89..81da283384 100644
--- a/io.c
+++ b/io.c
@@ -5153,7 +5153,7 @@ linux_get_maxfd(void)
if (ss == -1) goto err;
p = buf;
e = buf + ss;
- while (sizeof("FDSize:\t0\n")-1 <= e-p &&
+ while ((int)sizeof("FDSize:\t0\n")-1 <= e-p &&
(n = memchr(p, '\n', e-p)) != NULL) {
if (memcmp(p, "FDSize:", sizeof("FDSize:")-1) == 0) {
int fdsize;