diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-20 19:04:01 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-20 19:04:01 +0000 |
commit | 4edac7e4a38497af50c177c9604806670b76345f (patch) | |
tree | 3fc0b2ffac9829ea40db7858e6d2356579e85b4e /nuttx/sched/sched_addreadytorun.c | |
parent | c6fe19aace6705b944dc95a43e27d3269ff813dc (diff) | |
download | px4-nuttx-4edac7e4a38497af50c177c9604806670b76345f.tar.gz px4-nuttx-4edac7e4a38497af50c177c9604806670b76345f.tar.bz2 px4-nuttx-4edac7e4a38497af50c177c9604806670b76345f.zip |
Changes for the SDCC compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@109 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_addreadytorun.c')
-rw-r--r-- | nuttx/sched/sched_addreadytorun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_addreadytorun.c b/nuttx/sched/sched_addreadytorun.c index d3b32fef1..cb53aa65e 100644 --- a/nuttx/sched/sched_addreadytorun.c +++ b/nuttx/sched/sched_addreadytorun.c @@ -111,14 +111,14 @@ boolean sched_addreadytorun(FAR _TCB *btcb) * task to the g_pendingtasks task list for now. */ - sched_addprioritized(btcb, (dq_queue_t*)&g_pendingtasks); + sched_addprioritized(btcb, (FAR dq_queue_t*)&g_pendingtasks); btcb->task_state = TSTATE_TASK_PENDING; ret = FALSE; } /* Otherwise, add the new task to the g_readytorun task list */ - else if (sched_addprioritized(btcb, (dq_queue_t*)&g_readytorun)) + else if (sched_addprioritized(btcb, (FAR dq_queue_t*)&g_readytorun)) { /* Information the instrumentation logic that we are switching tasks */ |