summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-29 21:54:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-29 21:54:36 +0000
commit0337a9c5e9ee9fed7affe916a9238ea86e62496d (patch)
treebebece7352ad0efd627bf7e97b5cf53669897eb6 /cpukit
parent2006-08-29 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-0337a9c5e9ee9fed7affe916a9238ea86e62496d.tar.bz2
2006-08-29 Joel Sherrill <joel@OARcorp.com>
* score/include/rtems/score/object.h: _Objects_Local_node is a uint16_t so cast the _Objects_Local_node constant to 1.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/score/include/rtems/score/object.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 3d7fa3a036..6cd5597da1 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2006-08-29 Joel Sherrill <joel@OARcorp.com>
+ * score/include/rtems/score/object.h: _Objects_Local_node is a uint16_t
+ so cast the _Objects_Local_node constant to 1.
+
+2006-08-29 Joel Sherrill <joel@OARcorp.com>
+
* libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_eval.c,
libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_free.c,
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
/**