diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/support.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/rtems/ChangeLog b/cpukit/rtems/ChangeLog index 22afdb7339..516423e885 100644 --- a/cpukit/rtems/ChangeLog +++ b/cpukit/rtems/ChangeLog @@ -1,3 +1,8 @@ +2002-12-02 Joel Sherrill <joel@OARcorp.com> + + * include/rtems/rtems/support.h: Added casts to eliminate warnings + on 16 bit targets like the h8300. + 2002-11-13 Paul Whitfield <paulw@microsol.iinet.net.au> * src/regionreturnsegment.c: When RTEMS_REGION_SHRED_ON_FREE is diff --git a/cpukit/rtems/include/rtems/rtems/support.h b/cpukit/rtems/include/rtems/rtems/support.h index c162a92d4f..5f7ccf6a7f 100644 --- a/cpukit/rtems/include/rtems/rtems/support.h +++ b/cpukit/rtems/include/rtems/rtems/support.h @@ -37,7 +37,7 @@ extern "C" { */ #define rtems_build_name( _C1, _C2, _C3, _C4 ) \ - ( (_C1) << 24 | (_C2) << 16 | (_C3) << 8 | (_C4) ) + ( (unsigned32)(_C1) << 24 | (unsigned32)(_C2) << 16 | (unsigned32)(_C3) << 8 | (unsigned32)(_C4) ) /* * rtems_get_class |