diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:30:41 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:30:41 +0000 |
commit | 0cb6f35c33a2a3fd390aaa36da72e0600f205918 (patch) | |
tree | 6f685077a27f04869b4f152cbe4287c023554afb /networking/interface.c | |
parent | 5e678873f9ff7c95d43b278feee547ce989b3b20 (diff) | |
download | busybox-w32-0cb6f35c33a2a3fd390aaa36da72e0600f205918.tar.gz busybox-w32-0cb6f35c33a2a3fd390aaa36da72e0600f205918.tar.bz2 busybox-w32-0cb6f35c33a2a3fd390aaa36da72e0600f205918.zip |
fix up annoying signed/unsigned and mixed type errors
Diffstat (limited to 'networking/interface.c')
-rw-r--r-- | networking/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/interface.c b/networking/interface.c index ad6c40fc1..b2c746be9 100644 --- a/networking/interface.c +++ b/networking/interface.c | |||
@@ -501,7 +501,7 @@ static char *UNSPEC_sprint(struct sockaddr *sap, int numeric) | |||
501 | 501 | ||
502 | if (sap->sa_family == 0xFFFF || sap->sa_family == 0) | 502 | if (sap->sa_family == 0xFFFF || sap->sa_family == 0) |
503 | return safe_strncpy(buf, _("[NONE SET]"), sizeof(buf)); | 503 | return safe_strncpy(buf, _("[NONE SET]"), sizeof(buf)); |
504 | return (UNSPEC_print(sap->sa_data)); | 504 | return (UNSPEC_print((unsigned char *)sap->sa_data)); |
505 | } | 505 | } |
506 | 506 | ||
507 | static struct aftype unspec_aftype = { | 507 | static struct aftype unspec_aftype = { |
@@ -1833,7 +1833,7 @@ static void ife_print(struct interface *ptr) | |||
1833 | hardware address if it's null. */ | 1833 | hardware address if it's null. */ |
1834 | if (hw->print != NULL && (!(hw_null_address(hw, ptr->hwaddr) && | 1834 | if (hw->print != NULL && (!(hw_null_address(hw, ptr->hwaddr) && |
1835 | hw->suppress_null_addr))) | 1835 | hw->suppress_null_addr))) |
1836 | printf(_("HWaddr %s "), hw->print(ptr->hwaddr)); | 1836 | printf(_("HWaddr %s "), hw->print((unsigned char *)ptr->hwaddr)); |
1837 | #ifdef IFF_PORTSEL | 1837 | #ifdef IFF_PORTSEL |
1838 | if (ptr->flags & IFF_PORTSEL) { | 1838 | if (ptr->flags & IFF_PORTSEL) { |
1839 | printf(_("Media:%s"), if_port_text[ptr->map.port] /* [0] */); | 1839 | printf(_("Media:%s"), if_port_text[ptr->map.port] /* [0] */); |