diff options
Diffstat (limited to 'nuttx/sched/os_start.c')
-rw-r--r-- | nuttx/sched/os_start.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index 2c5da51a2b..30a8cb5873 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -264,7 +264,7 @@ void os_start(void) /* Then add the idle task's TCB to the head of the ready to run list */ - dq_addfirst((FAR dq_entry_t*)&g_idletcb, &g_readytorun); + dq_addfirst((FAR dq_entry_t*)&g_idletcb, (dq_queue_t*)&g_readytorun); /* Initialize the processor-specific portion of the TCB */ @@ -435,7 +435,7 @@ void os_start(void) /* Remove the first delayed deallocation. */ irqstate_t saved_state = irqsave(); - void *address = (void*)sq_remfirst(&g_delayeddeallocations); + void *address = (void*)sq_remfirst((sq_queue_t*)&g_delayeddeallocations); irqrestore(saved_state); /* Then deallocate it */ |