aboutsummaryrefslogtreecommitdiffstats
path: root/src/chschd.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-13 19:30:52 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-13 19:30:52 +0000
commita5f92e68309aa5270602cb6e911c43c9bc370408 (patch)
tree4e8f618caa20c92446779668b491d337ea64ee5f /src/chschd.c
parentcac6514204ed81c2dee8da04a313590ed8445159 (diff)
downloadChibiOS-a5f92e68309aa5270602cb6e911c43c9bc370408.tar.gz
ChibiOS-a5f92e68309aa5270602cb6e911c43c9bc370408.tar.bz2
ChibiOS-a5f92e68309aa5270602cb6e911c43c9bc370408.zip
Improvements to the priority lists.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@838 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chschd.c')
-rw-r--r--src/chschd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chschd.c b/src/chschd.c
index 6bb03aab2..82718342f 100644
--- a/src/chschd.c
+++ b/src/chschd.c
@@ -61,7 +61,7 @@ Thread *chSchReadyI(Thread *tp) {
Thread *cp;
tp->p_state = PRREADY;
- cp = (void *)&rlist;
+ cp = (Thread *)&rlist;
do {
cp = cp->p_next;
} while (cp->p_prio >= tp->p_prio);