Correct type in a cast

This commit is contained in:
Gregory Nutt 2017-04-21 18:42:13 -06:00
parent 7c6f2c3c9a
commit 0184bf6787

View File

@ -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