From c5d483f586d71981b3b4e0c52d3b66f0ed5729d5 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Mon, 24 Aug 2009 17:50:55 +0000 Subject: [PATCH] Fix warnings. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2780 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/proc_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.25.1