1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Plus-TCP synced 2025-10-24 12:02:37 +08:00

Fix compilation warning with new code (#764)

Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com>
This commit is contained in:
Monika Singh
2023-03-10 15:56:40 +05:30
committed by GitHub
parent 0b67e4551f
commit 5f87c09321
2 changed files with 2 additions and 2 deletions

View File

@@ -514,7 +514,7 @@
}
else
{
const uint8_t * ucBytes = &( pxAddresses->ulIPAddress );
const uint8_t * ucBytes = ( const uint8_t * ) &( pxAddresses->ulIPAddress );
pxNewAddress = pxNew_AddrInfo( xDNSCache[ uxIndex ].pcName, FREERTOS_AF_INET4, ucBytes );
}

View File

@@ -1358,7 +1358,7 @@ static int32_t prvSendUDPPacket( const FreeRTOS_Socket_t * pxSocket,
{
if( ipconfigIS_VALID_PROG_ADDRESS( pxSocket->u.xUDP.pxHandleSent ) )
{
pxSocket->u.xUDP.pxHandleSent( pxSocket, uxTotalDataLength );
pxSocket->u.xUDP.pxHandleSent( ( FreeRTOS_Socket_t * ) pxSocket, uxTotalDataLength );
}
}
#endif /* ipconfigUSE_CALLBACKS */