Skip to content

Commit

Permalink
m2m_wifi: cast argument to hif_receive() in m2m_wifi_cb()
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht authored and benpicco committed Jun 15, 2022
1 parent fa6526a commit aab2d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/source/m2m_wifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static void m2m_wifi_cb(uint8 u8OpCode, uint16 u16DataSize, uint32 u32Addr)
{
uint8 u8SetRxDone;
tstrM2mIpRsvdPkt strM2mRsvd;
if(hif_receive(u32Addr, &strM2mRsvd ,sizeof(tstrM2mIpRsvdPkt), 0) == M2M_SUCCESS)
if(hif_receive(u32Addr, (uint8*)&strM2mRsvd, sizeof(tstrM2mIpRsvdPkt), 0) == M2M_SUCCESS)
{
tstrM2mIpCtrlBuf strM2mIpCtrlBuf;
uint16 u16Offset = strM2mRsvd.u16PktOffset;
Expand Down

0 comments on commit aab2d87

Please sign in to comment.