summaryrefslogtreecommitdiff
path: root/networking/interface.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-02 01:16:33 +0000
committerDenis Vlasenko2007-02-02 01:16:33 +0000
commit731d3572959774b36bab415bd1ae8bcd1958639b (patch)
treeeade4bd03b619244f2119518931d1aff1956a715 /networking/interface.c
parentc4d606e3678333fe07348904d1e2222cf43c5e31 (diff)
downloadbusybox-731d3572959774b36bab415bd1ae8bcd1958639b.zip
busybox-731d3572959774b36bab415bd1ae8bcd1958639b.tar.gz
trivial warning fix
Diffstat (limited to 'networking/interface.c')
-rw-r--r--networking/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/interface.c b/networking/interface.c
index f345cb0..f3f37f9 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -839,7 +839,7 @@ static int in_ether(char *bufp, struct sockaddr *sap)
unsigned val;
sap->sa_family = ether_hwtype.type;
- ptr = sap->sa_data;
+ ptr = (unsigned char*) sap->sa_data;
i = 0;
orig = bufp;