mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
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;
|
unsigned char c;
|
||||||
|
|
||||||
sap->sa_family = ARPHRD_ETHER;
|
sap->sa_family = ARPHRD_ETHER;
|
||||||
ptr = sap->sa_data;
|
ptr = (char *) sap->sa_data;
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
do {
|
do {
|
||||||
|
@ -1224,7 +1224,7 @@ int in_ib(const char *bufp, struct sockaddr *sap)
|
|||||||
unsigned val;
|
unsigned val;
|
||||||
|
|
||||||
sap->sa_family = ib_hwtype.type;
|
sap->sa_family = ib_hwtype.type;
|
||||||
ptr = sap->sa_data;
|
ptr = (unsigned char *) sap->sa_data;
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
orig = bufp;
|
orig = bufp;
|
||||||
|
Loading…
Reference in New Issue
Block a user