]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/FreeRTOS_Sockets.c
Fixes to FreeRTOS+UDP trace macro parameters and placements.
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-UDP / FreeRTOS_Sockets.c
index e5a3f8579f879529b4308f22c909c8f0a21b5067..fd157c9e2d43dd5c36d998d56caf555e5df731cd 100644 (file)
@@ -70,7 +70,7 @@ port number. */
 \r
 /* xWaitingPacketSemaphore is not created until the socket is bound, so can be\r
 tested to see if bind() has been called. */\r
-#define socketSOCKET_IS_BOUND( pxSocket ) ( ( uint32_t ) pxSocket->xWaitingPacketSemaphore )\r
+#define socketSOCKET_IS_BOUND( pxSocket ) ( ( portBASE_TYPE ) pxSocket->xWaitingPacketSemaphore )\r
 \r
 /* If FreeRTOS_sendto() is called on a socket that is not bound to a port\r
 number then, depending on the FreeRTOSIPConfig.h settings, it might be that a\r