summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqdequeue.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadqdequeue.c')
-rw-r--r--cpukit/score/src/threadqdequeue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadqdequeue.c b/cpukit/score/src/threadqdequeue.c
index d745ef29e3..e364aa91e8 100644
--- a/cpukit/score/src/threadqdequeue.c
+++ b/cpukit/score/src/threadqdequeue.c
@@ -50,7 +50,7 @@ Thread_Control *_Thread_queue_Dequeue(
first = _RBTree_Get( &the_thread_queue->Queues.Priority, RBT_LEFT );
if ( first ) {
- the_thread = _RBTree_Container_of( first, Thread_Control, RBNode );
+ the_thread = THREAD_RBTREE_NODE_TO_THREAD( first );
}
}