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

index e764c856a0ad32ec7b36e11663facd00b7034427..7a1a592b46fe02aecc5f7730cc8cedfb30dc72cf 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.120.2.1 2005-04-18 00:23:05 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.120.2.2 2005-04-21 06:36:05 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;