diff options
author | itojun <itojun> | 2003-10-28 03:16:35 +0000 |
---|---|---|
committer | itojun <itojun> | 2003-10-28 03:16:35 +0000 |
commit | e2826164d4518667c80fa14a93390c77af8b8af7 (patch) | |
tree | cf07445031348052f93e48215df695dde8fc23cd /print-tcp.c | |
parent | 53b421eb0f3827c6c51f1ad9792020b77e70576d (diff) | |
download | tcpdump-e2826164d4518667c80fa14a93390c77af8b8af7.tar.gz |
unsigned/signed mixup
Diffstat (limited to 'print-tcp.c')
-rw-r--r-- | print-tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-tcp.c b/print-tcp.c index d42cfe45..2b7c610c 100644 --- a/print-tcp.c +++ b/print-tcp.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.105 2003-06-07 11:57:54 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.106 2003-10-28 03:16:36 itojun Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -133,7 +133,7 @@ static int tcp_cksum(register const struct ip *ip, static int tcp6_cksum(const struct ip6_hdr *ip6, const struct tcphdr *tp, int len) { - int i, tlen; + size_t i, tlen; register const u_int16_t *sp; u_int32_t sum; union { |