Correct type in a cast
This commit is contained in:
parent
7c6f2c3c9a
commit
0184bf6787
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue