From: guy Date: Thu, 25 Apr 2002 04:47:42 +0000 (+0000) Subject: Make some "u_char *"s "char *"s, to eliminate signed vs. unsigned X-Git-Tag: tcpdump-3.8-bp~509 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/4c51c6177bc42e7af3df696214fbd4ca32ddff7a?ds=sidebyside Make some "u_char *"s "char *"s, to eliminate signed vs. unsigned complaints from some compilers. --- diff --git a/print-isoclns.c b/print-isoclns.c index 0f457f29..d45e77a5 100644 --- a/print-isoclns.c +++ b/print-isoclns.c @@ -26,7 +26,7 @@ #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 @@ -742,7 +742,7 @@ isis_print_lspid(const u_char *cp) */ 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; @@ -852,7 +852,7 @@ isis_print_tlv_ip_reach (const u_char *cp, int length) */ 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: @@ -885,7 +885,7 @@ trunctlv: */ 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 */