diff --git a/packet-isakmp.c b/packet-isakmp.c index ca35793b7e..3db149a2d0 100644 --- a/packet-isakmp.c +++ b/packet-isakmp.c @@ -2,7 +2,7 @@ * Routines for the Internet Security Association and Key Management Protocol (ISAKMP) * Brad Robel-Forrest * - * $Id: packet-isakmp.c,v 1.2 1999/06/12 09:02:12 guy Exp $ + * $Id: packet-isakmp.c,v 1.3 1999/07/06 06:10:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -1035,10 +1035,10 @@ num2str(const guint8 *pd, guint16 len) { snprintf(numstr, NUMSTR_LEN, "%u", pntohs(pd)); break; case 3: - snprintf(numstr, NUMSTR_LEN, "%lu", pntohl(pd) & 0x0fff); + snprintf(numstr, NUMSTR_LEN, "%u", pntohl(pd) & 0x0fff); break; case 4: - snprintf(numstr, NUMSTR_LEN, "%lu", pntohl(pd)); + snprintf(numstr, NUMSTR_LEN, "%u", pntohl(pd)); break; default: snprintf(numstr, NUMSTR_LEN, "");