summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-02 19:15:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-02 19:15:58 +0000
commitbbad6f0f796457753fd828bb5c4bfdb9af56f5ed (patch)
treea5e84c35ce9576f9c107e9abca83d4122a7b507d
parent2002-12-02 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-bbad6f0f796457753fd828bb5c4bfdb9af56f5ed.tar.bz2
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.
-rw-r--r--cpukit/rtems/ChangeLog5
-rw-r--r--cpukit/rtems/include/rtems/rtems/support.h2
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