Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FreeRTOS_Sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -2921,7 +2921,7 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )
static BaseType_t bMayConnect( FreeRTOS_Socket_t const * pxSocket )
{
BaseType_t xResult;
eIPTCPState_t eState = pxSocket->u.xTCP.ucTCPState;
eIPTCPState_t eState = ( eIPTCPState_t ) pxSocket->u.xTCP.ucTCPState;

switch( eState )
{
Expand Down Expand Up @@ -3318,7 +3318,7 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )

while( xByteCount == 0 )
{
eIPTCPState_t eState = pxSocket->u.xTCP.ucTCPState;
eIPTCPState_t eState = ( eIPTCPState_t ) pxSocket->u.xTCP.ucTCPState;

switch( eState )
{
Expand Down
6 changes: 3 additions & 3 deletions FreeRTOS_TCP_IP.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
static BaseType_t prvTCPSocketIsActive( uint8_t ucStatus )
{
BaseType_t xResult;
eIPTCPState_t eStatus = ucStatus;
eIPTCPState_t eStatus = ( eIPTCPState_t ) ucStatus;

switch( eStatus )
{
Expand Down Expand Up @@ -458,7 +458,7 @@
static BaseType_t prvTCPStatusAgeCheck( FreeRTOS_Socket_t * pxSocket )
{
BaseType_t xResult;
eIPTCPState_t eState = pxSocket->u.xTCP.ucTCPState;
eIPTCPState_t eState = ( eIPTCPState_t ) pxSocket->u.xTCP.ucTCPState;

switch( eState )
{
Expand Down Expand Up @@ -3357,7 +3357,7 @@
}
}

eState = pxSocket->u.xTCP.ucTCPState;
eState = ( eIPTCPState_t ) pxSocket->u.xTCP.ucTCPState;

switch( eState )
{
Expand Down