summaryrefslogtreecommitdiff
path: root/networking/ifconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifconfig.c')
-rw-r--r--networking/ifconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index d021757..965fca3 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -514,7 +514,7 @@ static int in_ether(const char *bufp, struct sockaddr *sap)
unsigned char c;
sap->sa_family = ARPHRD_ETHER;
- ptr = sap->sa_data;
+ ptr = (char *) sap->sa_data;
i = 0;
do {