Skip to content

Commit 31e46ba

Browse files
committed
freeRTOS - 10.4.6 August 7 snapshot
1 parent 2aaf2db commit 31e46ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
769769
StackType_t * pxStack;
770770

771771
/* Allocate space for the stack used by the task being created. */
772-
pxStack = pvPortMallocStack( ( ( ( size_t ) uxStackDepth ) * sizeof( StackType_t ) ) ); /*lint !e9079 All values returned by pvPortMalloc() have at least the alignment required by the MCU's stack and this allocation is the stack. */
772+
pxStack = ( StackType_t * ) pvPortMallocStack( ( ( ( size_t ) uxStackDepth ) * sizeof( StackType_t ) ) ); /*lint !e9079 All values returned by pvPortMalloc() have at least the alignment required by the MCU's stack and this allocation is the stack. */
773773

774774
if( pxStack != NULL )
775775
{

0 commit comments

Comments
 (0)