]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Squelch a signed vs. unsigned warning.
authorguy <guy>
Thu, 21 Apr 2005 06:35:52 +0000 (06:35 +0000)
committerguy <guy>
Thu, 21 Apr 2005 06:35:52 +0000 (06:35 +0000)
print-tcp.c

index c2fcd83817fb3516a9876d6d2a29cd92afc07c9c..6f5d433d19a9ca6789dd62cfd568bed46957b4dd 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.121 2005-04-18 00:22:40 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.122 2005-04-21 06:35:52 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -736,7 +736,7 @@ tcp_verify_signature(const struct ip *ip, const struct tcphdr *tp,
     const u_char *data, int length, const u_char *rcvsig)
 {
         struct tcphdr tp1;
-       char sig[TCP_SIGLEN];
+       u_char sig[TCP_SIGLEN];
        char zero_proto = 0;
        MD5_CTX ctx;
        u_int16_t savecsum, tlen;