diff --git a/src/include/lwip/netif.h b/src/include/lwip/netif.h index 579b9aad..ee7c3222 100644 --- a/src/include/lwip/netif.h +++ b/src/include/lwip/netif.h @@ -48,7 +48,7 @@ struct netif { struct ip_addr ip_addr; struct ip_addr netmask; /* netmask in network byte order */ struct ip_addr gw; - char hwaddr[6]; + unsigned char hwaddr[6]; /* This function is called by the network device driver when it wants to pass a packet to the TCP/IP stack. */