summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-23 11:45:29 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-23 11:45:29 +0000
commitc4d3ba8748a12a9ad466b3b1c50cc31d36cd5418 (patch)
tree1b35951e85501fa49b5413b7b0f2679271842562 /src
parent70219213d3e9404a95844f567d6d6b44753d8dad (diff)
downloadconntrack-tools-c4d3ba8748a12a9ad466b3b1c50cc31d36cd5418.tar.gz
conntrack-tools-c4d3ba8748a12a9ad466b3b1c50cc31d36cd5418.zip
missing casting to keep -Werror happy
Diffstat (limited to 'src')
-rw-r--r--src/sync-mode.c2
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;
}