]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Make some "u_char *"s "char *"s, to eliminate signed vs. unsigned
authorguy <guy>
Thu, 25 Apr 2002 04:47:42 +0000 (04:47 +0000)
committerguy <guy>
Thu, 25 Apr 2002 04:47:42 +0000 (04:47 +0000)
complaints from some compilers.

print-isoclns.c

index 0f457f29dcdde6e9e696f6c34cc1b20ec6e370eb..d45e77a58ec3aff4cfeba855b8e92e6bf304d325 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] =
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.44 2002-04-12 07:56:49 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.45 2002-04-25 04:47:42 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -742,7 +742,7 @@ isis_print_lspid(const u_char *cp)
  */
 
 static int
  */
 
 static int
-isis_print_unknown_data(const u_char *cp,const u_char *lf,int len)
+isis_print_unknown_data(const u_char *cp,const char *lf,int len)
 {
         int i;
        
 {
         int i;
        
@@ -852,7 +852,7 @@ isis_print_tlv_ip_reach (const u_char *cp, int length)
  */
 
 static int
  */
 
 static int
-isis_print_ip_reach_subtlv (const u_char *tptr,int subt,int subl,const u_char *lf) {
+isis_print_ip_reach_subtlv (const u_char *tptr,int subt,int subl,const char *lf) {
 
         switch(subt) {
         case SUBTLV_EXT_IP_REACH_ADMIN_TAG:
 
         switch(subt) {
         case SUBTLV_EXT_IP_REACH_ADMIN_TAG:
@@ -885,7 +885,7 @@ trunctlv:
  */
 
 static int
  */
 
 static int
-isis_print_is_reach_subtlv (const u_char *tptr,int subt,int subl,const u_char *lf) {
+isis_print_is_reach_subtlv (const u_char *tptr,int subt,int subl,const char *lf) {
 
         int i,j;
         float bw; /* copy buffer for several subTLVs */
 
         int i,j;
         float bw; /* copy buffer for several subTLVs */