Cristian Ionescu-Idbohrn writes to fix a warning: networking/ifconfig.c uses an uchar ptr to work with a char ptr so change the uchar to char

This commit is contained in:
Mike Frysinger 2005-09-24 23:52:09 +00:00
parent 036f299137
commit 3978abd05b

View File

@ -567,7 +567,7 @@ int ifconfig_main(int argc, char **argv)
/* Input an Ethernet address and convert to binary. */
static int in_ether(char *bufp, struct sockaddr *sap)
{
unsigned char *ptr;
char *ptr;
int i, j;
unsigned char val;
unsigned char c;