From: lottaviano Date: Mon, 24 Aug 2009 17:50:55 +0000 (+0000) Subject: Fix warnings. X-Git-Tag: 2.2.0~188 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c5d483f586d71981b3b4e0c52d3b66f0ed5729d5;p=bertos.git Fix warnings. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2780 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/proc_p.h b/bertos/kern/proc_p.h index 54ea3710..961f2473 100644 --- a/bertos/kern/proc_p.h +++ b/bertos/kern/proc_p.h @@ -152,9 +152,9 @@ INLINE void SCHED_CHANGE_PRI(struct Process *proc) PriNode *pos = NULL; FOREACH_NODE(n, &ProcReadyList) { - if (n == &proc->link) + if (n == &proc->link.link) { - pos = n; + pos = (PriNode *)n; break; } }