From 4edac7e4a38497af50c177c9604806670b76345f Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Mar 2007 19:04:01 +0000 Subject: Changes for the SDCC compiler git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@109 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/sched_setparam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/sched/sched_setparam.c') diff --git a/nuttx/sched/sched_setparam.c b/nuttx/sched/sched_setparam.c index cb363950c..30978b02e 100644 --- a/nuttx/sched/sched_setparam.c +++ b/nuttx/sched/sched_setparam.c @@ -240,7 +240,7 @@ int sched_setparam(pid_t pid, const struct sched_param *param) { /* Remove the TCB from the prioritized task list */ - dq_rem((FAR dq_entry_t*)tcb, (dq_queue_t*)g_tasklisttable[task_state].list); + dq_rem((FAR dq_entry_t*)tcb, (FAR dq_queue_t*)g_tasklisttable[task_state].list); /* Change the task priority */ @@ -250,7 +250,7 @@ int sched_setparam(pid_t pid, const struct sched_param *param) * position */ - sched_addprioritized(tcb, (dq_queue_t*)g_tasklisttable[task_state].list); + sched_addprioritized(tcb, (FAR dq_queue_t*)g_tasklisttable[task_state].list); } /* CASE 3b. The task resides in a non-prioritized list. */ -- cgit v1.2.3