From: guy Date: Fri, 12 Mar 2004 01:12:57 +0000 (+0000) Subject: Print unsigned values with %u, not %d. X-Git-Tag: tcpdump-3.8.2~32 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/15dc65731f28d454197973bb073cbb92c92810fe Print unsigned values with %u, not %d. --- diff --git a/print-isakmp.c b/print-isakmp.c index c0d56efd..cac893dc 100644 --- a/print-isakmp.c +++ b/print-isakmp.c @@ -30,7 +30,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.36.2.6 2004-01-07 07:53:17 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.36.2.7 2004-03-12 01:12:57 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -1271,7 +1271,7 @@ isakmp_print(const u_char *bp, u_int length, const u_char *bp2) done: if (vflag) { if (ntohl(base.len) != length) { - printf(" (len mismatch: isakmp %u/ip %d)", + printf(" (len mismatch: isakmp %u/ip %u)", (u_int32_t)ntohl(base.len), length); } }