summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include
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 /cpukit/rtems/include
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.
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r--cpukit/rtems/include/rtems/rtems/support.h2
1 files changed, 1 insertions, 1 deletions
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