]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Cast the argument to "fn_printn()" to "u_char *", as that's the argument
authorguy <guy>
Thu, 25 Apr 2002 04:57:59 +0000 (04:57 +0000)
committerguy <guy>
Thu, 25 Apr 2002 04:57:59 +0000 (04:57 +0000)
type it expects.

print-ntp.c

index 8e795cbc88152849ebe1a76ff11a9aa60ae0e7b0..f8296d7ad8496ffdbab268a860a4a7051ed3ae42 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.32 2001-08-20 15:36:57 fenner Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.33 2002-04-25 04:57:59 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -155,7 +155,7 @@ ntp_print(register const u_char *cp, u_int length)
                break;
 
        case PRIM_REF:
-               fn_printn((char *)&(bp->refid), 4, NULL);
+               fn_printn((u_char *)&(bp->refid), 4, NULL);
                break;
 
        case INFO_QUERY: