diff options
author | Denis Vlasenko | 2008-05-09 18:07:15 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-05-09 18:07:15 +0000 |
commit | 023dc6798e05373bf33d64221bbe6a7265734c34 (patch) | |
tree | c111bcbb60f73790b29f7dd4f030f8c1e87b29a8 /networking | |
parent | 98636eb08c5ecc216e18970e11f7021206ac9b04 (diff) | |
download | busybox-023dc6798e05373bf33d64221bbe6a7265734c34.zip busybox-023dc6798e05373bf33d64221bbe6a7265734c34.tar.gz |
fix warnings about pointer signedness
Diffstat (limited to 'networking')
-rw-r--r-- | networking/arp.c | 2 | ||||
-rw-r--r-- | networking/sendmail.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/arp.c b/networking/arp.c index c9b9d1d..f42e09f 100644 --- a/networking/arp.c +++ b/networking/arp.c @@ -200,7 +200,7 @@ static void arp_getdevhw(char *ifname, struct sockaddr *sa, } bb_error_msg("device '%s' has HW address %s '%s'", ifname, xhw->name, - xhw->print((char *) &ifr.ifr_hwaddr.sa_data)); + xhw->print((unsigned char *) &ifr.ifr_hwaddr.sa_data)); } } diff --git a/networking/sendmail.c b/networking/sendmail.c index 242bb0e..f37d97f 100644 --- a/networking/sendmail.c +++ b/networking/sendmail.c @@ -533,7 +533,7 @@ int sendgetmail_main(int argc ATTRIBUTE_UNUSED, char **argv) // so we reuse md5 space instead of xzalloc(16*2+1) #define md5_hex ((uint8_t *)&md5) // uint8_t *md5_hex = (uint8_t *)&md5; - *bin2hex(md5_hex, s, 16) = '\0'; + *bin2hex((char *)md5_hex, s, 16) = '\0'; // APOP s = xasprintf("%s %s", opt_user, md5_hex); #undef md5_hex |