summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/priorityimpl.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-08-19 15:22:17 +1000
committerChris Johns <chrisj@rtems.org>2022-08-22 08:30:00 +1000
commitf5233fe51c24d7806badd8fc72aa86899e0afafa (patch)
tree373a5780d225da17175351a2da2c2953c8f50140 /cpukit/include/rtems/score/priorityimpl.h
parentspec/librtemscpu: Fix installed headers (diff)
downloadrtems-f5233fe51c24d7806badd8fc72aa86899e0afafa.tar.bz2
cpukit/include: Fixes for C++
Updates #4706
Diffstat (limited to 'cpukit/include/rtems/score/priorityimpl.h')
-rw-r--r--cpukit/include/rtems/score/priorityimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/priorityimpl.h b/cpukit/include/rtems/score/priorityimpl.h
index 55cddf53be..5a9a1673f6 100644
--- a/cpukit/include/rtems/score/priorityimpl.h
+++ b/cpukit/include/rtems/score/priorityimpl.h
@@ -403,7 +403,7 @@ RTEMS_INLINE_ROUTINE bool _Priority_Less(
const Priority_Control *the_left;
const Priority_Node *the_right;
- the_left = left;
+ the_left = (const Priority_Control*) left;
the_right = RTEMS_CONTAINER_OF( right, Priority_Node, Node.RBTree );
return *the_left < the_right->priority;