mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
Correct type in a cast
This commit is contained in:
@@ -1195,7 +1195,7 @@ int psock_ioctl(FAR struct socket *psock, int cmd, unsigned long arg)
|
|||||||
{
|
{
|
||||||
FAR struct iwreq *wifrreq;
|
FAR struct iwreq *wifrreq;
|
||||||
|
|
||||||
wifrreq = (FAR struct sixlowpan_req_s *)((uintptr_t)arg);
|
wifrreq = (FAR struct iwreq *)((uintptr_t)arg);
|
||||||
ret = netdev_wifr_ioctl(psock, cmd, wifrreq);
|
ret = netdev_wifr_ioctl(psock, cmd, wifrreq);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user