summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp35
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-23 22:57:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-23 22:57:54 +0000
commit23a368d91e9b40099d5c66775bb4230fc9d6b49c (patch)
treea290442b88b16d5956696772f0c04af10f3b2a35 /testsuites/sptests/sp35
parent2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-23a368d91e9b40099d5c66775bb4230fc9d6b49c.tar.bz2
2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp34/changepri.c, sp35/priinv.c: Convert the Objects_Name type from a simple type to a union of an unsigned 32 bit integer and a pointer. This should help eliminate weird casts between u32 and pointers in various places. The APIs now have to explicitly call _u32 or _string versions of helper routines. This should also simplify things and eliminate the need for ugly casts in some cases.
Diffstat (limited to 'testsuites/sptests/sp35')
-rw-r--r--testsuites/sptests/sp35/priinv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c
index 8d97f228ee..0f1ef6fc3d 100644
--- a/testsuites/sptests/sp35/priinv.c
+++ b/testsuites/sptests/sp35/priinv.c
@@ -84,7 +84,7 @@ const char *CallerName()
#if defined(TEST_ON_RTEMS_45)
TempName.u = *(uint32_t *)_Thread_Executing->Object.name;
#else
- TempName.u = (uint32_t) _Thread_Executing->Object.name;
+ TempName.u = (uint32_t) _Thread_Executing->Object.name.name_u32;
#endif
sprintf( buffer, "%c%c%c%c -- %d",
TempName.c[0], TempName.c[1], TempName.c[2], TempName.c[3],