summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:50:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:50:04 +0000
commit4944b5bfe551156928640d8cf979426670f3c154 (patch)
tree5fc688c4fdc09489eb11caba7d8541c45ff669a0 /cpukit/score/include
parentMP_PACKET_MINIMUN_HETERO_CONVERSION definition changed to use sizeof (diff)
downloadrtems-4944b5bfe551156928640d8cf979426670f3c154.tar.bz2
OBJECTS_NAME_ALIGNMENT definition changed to use sizeof rather than
hardcoded 4 to be compatible with CPUs with 64-bit ints
Diffstat (limited to 'cpukit/score/include')
-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 edd186c607..9dc53423d4 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -38,7 +38,7 @@ typedef void * Objects_Name;
* NOTE: Must be a power of 2. Matches the name manipulation routines.
*/
-#define OBJECTS_NAME_ALIGNMENT 4
+#define OBJECTS_NAME_ALIGNMENT sizeof( unsigned32 )
/*
* Functions which compare names are prototyped like this.
@@ -365,7 +365,7 @@ Objects_Control *_Objects_Get (
Objects_Control *_Objects_Get_next(
Objects_Information *information,
Objects_Id id,
- unsigned32 *location_p,
+ Objects_Locations *location_p,
Objects_Id *next_id_p
);