projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings.
[bertos.git]
/
bertos
/
kern
/
proc_p.h
diff --git
a/bertos/kern/proc_p.h
b/bertos/kern/proc_p.h
index 54ea3710acb4f5ca4c72831451b82dc8e9cf01bd..961f2473d7277d2d135086d3f7a3cc8828dcd13c 100644
(file)
--- 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;
}
}