two fixlets for -Wall
This commit is contained in:
parent
29952d79fc
commit
85e015c7c8
@ -514,7 +514,7 @@ static int in_ether(const char *bufp, struct sockaddr *sap)
|
||||
unsigned char c;
|
||||
|
||||
sap->sa_family = ARPHRD_ETHER;
|
||||
ptr = sap->sa_data;
|
||||
ptr = (char *) sap->sa_data;
|
||||
|
||||
i = 0;
|
||||
do {
|
||||
|
@ -1224,7 +1224,7 @@ int in_ib(const char *bufp, struct sockaddr *sap)
|
||||
unsigned val;
|
||||
|
||||
sap->sa_family = ib_hwtype.type;
|
||||
ptr = sap->sa_data;
|
||||
ptr = (unsigned char *) sap->sa_data;
|
||||
|
||||
i = 0;
|
||||
orig = bufp;
|
||||
|
Loading…
Reference in New Issue
Block a user