diff options
author | Eric Leblond <eric@inl.fr> | 2008-07-31 10:41:57 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-07-31 10:41:57 +0200 |
commit | 14a8a1e7dd1301002c99598a2b067cde3ca19b6e (patch) | |
tree | 3a9036bcafca17c49cc6b91850d759bd5dec1b2e /filter/ulogd_filter_PWSNIFF.c | |
parent | a52690d2dbb0e14d705ba990cda9b7869a747c0b (diff) |
cleanup: fix compilation warning related to signed and unsigned comparisons
This patch fixes the warning related to signed and unsigned comparaison.
Signed-off-by: Eric Leblond <eric@inl.fr>
Diffstat (limited to 'filter/ulogd_filter_PWSNIFF.c')
-rw-r--r-- | filter/ulogd_filter_PWSNIFF.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/ulogd_filter_PWSNIFF.c b/filter/ulogd_filter_PWSNIFF.c index 290e4cb..3cbafb6 100644 --- a/filter/ulogd_filter_PWSNIFF.c +++ b/filter/ulogd_filter_PWSNIFF.c @@ -66,7 +66,8 @@ static int interp_pwsniff(struct ulogd_pluginstance *pi) struct tcphdr *tcph; unsigned int tcplen; unsigned char *ptr, *begp, *pw_begp, *endp, *pw_endp; - int len, pw_len, i, cont = 0; + int len, pw_len, cont = 0; + unsigned int i; if (!IS_VALID(pi->input.keys[0])) return ULOGD_IRET_STOP; |