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-27 10:36:27 +1000
commitc5b794227b72c99538f725919eaa0c90636df3d1 (patch)
tree05aa56a73b711f641b0943b72ba34fff574b4d88 /cpukit/include/rtems/score/priorityimpl.h
parentscore: Fix unlimited objects support (diff)
downloadrtems-c5b794227b72c99538f725919eaa0c90636df3d1.tar.bz2
cpukit/include: Fix including in C++
Closes #4709
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 b33419acdb..3b92d3375a 100644
--- a/cpukit/include/rtems/score/priorityimpl.h
+++ b/cpukit/include/rtems/score/priorityimpl.h
@@ -389,7 +389,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;