trivial warning fix
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 2 Feb 2007 01:16:33 +0000 (01:16 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 2 Feb 2007 01:16:33 +0000 (01:16 -0000)
networking/interface.c

index f345cb09d1d1fc087c113079b034c96c2d2a9629..f3f37f92833f4cacf6f3ec08f80655f93d89d501 100644 (file)
@@ -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;