diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-17 02:36:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-17 02:36:28 +0000 |
commit | 85e015c7c895da7b1c37ed9bde9183c9e1bfacc8 (patch) | |
tree | 1cca84d29306e3cccaea6aa5ceb6ce27df96bc2d /networking | |
parent | 29952d79fced854c507220bf8ca690b867233c46 (diff) |
two fixlets for -Wall
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifconfig.c | 2 | ||||
-rw-r--r-- | networking/interface.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index d02175783..965fca344 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c @@ -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 { diff --git a/networking/interface.c b/networking/interface.c index dff6add20..abd58b582 100644 --- a/networking/interface.c +++ b/networking/interface.c @@ -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; |