mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +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;
|
||||
|
||||
wifrreq = (FAR struct sixlowpan_req_s *)((uintptr_t)arg);
|
||||
wifrreq = (FAR struct iwreq *)((uintptr_t)arg);
|
||||
ret = netdev_wifr_ioctl(psock, cmd, wifrreq);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user