summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/object.h')
-rw-r--r--cpukit/score/include/rtems/score/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 2a9c0b0280..1cc37c7965 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -355,9 +355,9 @@ typedef struct {
* The following is referenced to the node number of the local node.
*/
#if defined(RTEMS_MULTIPROCESSING)
-SCORE_EXTERN uint16_t _Objects_Local_node;
+SCORE_EXTERN uint16_t _Objects_Local_node;
#else
-#define _Objects_Local_node 1
+#define _Objects_Local_node ((uint16_t)1)
#endif
/**