Skip to content

Commit 6c12634

Browse files
committed
Cast to size_t
1 parent 907b8f2 commit 6c12634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2016,7 +2016,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
20162016
}
20172017
#else /* portSTACK_GROWTH */
20182018
{
2019-
configASSERT( ( pxNewTCB->pxTopOfStack - pxTopOfStack ) < uxStackDepth );
2019+
configASSERT( ( size_t ) ( pxNewTCB->pxTopOfStack - pxTopOfStack ) < uxStackDepth );
20202020
}
20212021
#endif
20222022

0 commit comments

Comments
 (0)