diff options
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 |