mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Eliminate a warning
This commit is contained in:
@@ -167,7 +167,7 @@ static int up_setmacaddr(void)
|
||||
{
|
||||
/* Set the MAC address */
|
||||
|
||||
ret = netdriver_setmacaddr(&req.ifr_hwaddr.sa_data);
|
||||
ret = netdriver_setmacaddr((unsigned char *)&req.ifr_hwaddr.sa_data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user