diff options
author | 2011-11-20 19:44:47 -0500 | |
---|---|---|
committer | 2011-11-20 19:46:38 -0500 | |
commit | 4d721ae0a79e17190404b9c6381d7ed9c8d37d8e (patch) | |
tree | c90352cfefdc91f69d191daf95272ade207035ba | |
parent | fix up unused variable warnings (diff) | |
download | net-tools-4d721ae0a79e17190404b9c6381d7ed9c8d37d8e.tar.gz net-tools-4d721ae0a79e17190404b9c6381d7ed9c8d37d8e.tar.bz2 net-tools-4d721ae0a79e17190404b9c6381d7ed9c8d37d8e.zip |
fix up signed/unsigned warnings
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | ipmaddr.c | 2 | ||||
-rw-r--r-- | lib/arcnet.c | 2 | ||||
-rw-r--r-- | lib/ash.c | 2 | ||||
-rw-r--r-- | lib/ax25.c | 2 | ||||
-rw-r--r-- | lib/ether.c | 2 | ||||
-rw-r--r-- | lib/eui64.c | 2 | ||||
-rw-r--r-- | lib/fddi.c | 2 | ||||
-rw-r--r-- | lib/hippi.c | 2 | ||||
-rw-r--r-- | lib/ib.c | 2 | ||||
-rw-r--r-- | lib/netrom.c | 2 | ||||
-rw-r--r-- | lib/tr.c | 2 | ||||
-rw-r--r-- | lib/x25.c | 2 |
12 files changed, 12 insertions, 12 deletions
@@ -75,7 +75,7 @@ static void print_lla(FILE *fp, int len, unsigned char *addr) } } -static int parse_lla(char *str, unsigned char *addr) +static int parse_lla(char *str, char *addr) { int len=0; diff --git a/lib/arcnet.c b/lib/arcnet.c index 10b59e5..9bc3267 100644 --- a/lib/arcnet.c +++ b/lib/arcnet.c @@ -52,7 +52,7 @@ static const char *pr_arcnet(const char *ptr) /* Input an ARCnet address and convert to binary. */ static int in_arcnet(char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char c, *orig; int i, val; @@ -60,7 +60,7 @@ struct hwtype ash_hwtype; static int in_ash(char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; unsigned int i = 0; sap->sa_family = ash_hwtype.type; @@ -84,7 +84,7 @@ static const char * static int AX25_input(int type, char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char *orig, c; int i; diff --git a/lib/ether.c b/lib/ether.c index 9bf8a55..dee9c73 100644 --- a/lib/ether.c +++ b/lib/ether.c @@ -55,7 +55,7 @@ static const char *pr_ether(const char *ptr) /* Input an Ethernet address and convert to binary. */ static int in_ether(char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char c, *orig; int i; unsigned val; diff --git a/lib/eui64.c b/lib/eui64.c index 32822a3..ecc61a7 100644 --- a/lib/eui64.c +++ b/lib/eui64.c @@ -69,7 +69,7 @@ static const char *pr_eui64(const char *ptr) /* Start the PPP encapsulation on the file descriptor. */ static int in_eui64( char *bufp, struct sockaddr *sap ) { - unsigned char *ptr; + char *ptr; char c, *orig; int i; unsigned val; @@ -66,7 +66,7 @@ static const char *pr_fddi(const char *ptr) /* Input an FDDI address and convert to binary. */ static int in_fddi(char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char c, *orig; int i, val; diff --git a/lib/hippi.c b/lib/hippi.c index ae6e31b..43e7a79 100644 --- a/lib/hippi.c +++ b/lib/hippi.c @@ -66,7 +66,7 @@ static const char *pr_hippi(const char *ptr) /* Input an HIPPI address and convert to binary. */ static int in_hippi(char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char c, *orig; int i, val; @@ -65,7 +65,7 @@ static const char *pr_ib(const char *ptr) /* Input an Infiniband address and convert to binary. */ static int in_ib(char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char c, *orig; int i; unsigned val; diff --git a/lib/netrom.c b/lib/netrom.c index 254bd61..fa88d35 100644 --- a/lib/netrom.c +++ b/lib/netrom.c @@ -87,7 +87,7 @@ static const char *NETROM_sprint(struct sockaddr *sap, int numeric) static int NETROM_input(int type, char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char *orig, c; unsigned int i; @@ -58,7 +58,7 @@ static const char *pr_tr(const char *ptr) static int in_tr(char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char c, *orig; int i, val; @@ -78,7 +78,7 @@ X25_sprint(struct sockaddr *sap, int numeric) static int X25_input(int type, char *bufp, struct sockaddr *sap) { - unsigned char *ptr; + char *ptr; char *p; unsigned int sigdigits; |