summaryrefslogtreecommitdiff
path: root/networking/interface.c
diff options
context:
space:
mode:
authorEric Andersen2006-01-30 22:30:41 +0000
committerEric Andersen2006-01-30 22:30:41 +0000
commit0cb6f35c33a2a3fd390aaa36da72e0600f205918 (patch)
tree6f685077a27f04869b4f152cbe4287c023554afb /networking/interface.c
parent5e678873f9ff7c95d43b278feee547ce989b3b20 (diff)
downloadbusybox-0cb6f35c33a2a3fd390aaa36da72e0600f205918.zip
busybox-0cb6f35c33a2a3fd390aaa36da72e0600f205918.tar.gz
fix up annoying signed/unsigned and mixed type errors
Diffstat (limited to 'networking/interface.c')
-rw-r--r--networking/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/interface.c b/networking/interface.c
index ad6c40f..b2c746b 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -501,7 +501,7 @@ static char *UNSPEC_sprint(struct sockaddr *sap, int numeric)
if (sap->sa_family == 0xFFFF || sap->sa_family == 0)
return safe_strncpy(buf, _("[NONE SET]"), sizeof(buf));
- return (UNSPEC_print(sap->sa_data));
+ return (UNSPEC_print((unsigned char *)sap->sa_data));
}
static struct aftype unspec_aftype = {
@@ -1833,7 +1833,7 @@ static void ife_print(struct interface *ptr)
hardware address if it's null. */
if (hw->print != NULL && (!(hw_null_address(hw, ptr->hwaddr) &&
hw->suppress_null_addr)))
- printf(_("HWaddr %s "), hw->print(ptr->hwaddr));
+ printf(_("HWaddr %s "), hw->print((unsigned char *)ptr->hwaddr));
#ifdef IFF_PORTSEL
if (ptr->flags & IFF_PORTSEL) {
printf(_("Media:%s"), if_port_text[ptr->map.port] /* [0] */);