diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sync-mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c index f726272..5974474 100644 --- a/src/sync-mode.c +++ b/src/sync-mode.c @@ -99,7 +99,7 @@ static void mcast_handler(void) while (remain > 0) { struct nethdr *net = (struct nethdr *) ptr; - if (remain < NETHDR_SIZ) { + if ((size_t)remain < NETHDR_SIZ) { STATE(malformed)++; break; } |