Commit 4d721ae0 authored by Mike Frysinger's avatar Mike Frysinger

fix up signed/unsigned warnings

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 46cd57a7
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment