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.
This commit is contained in:
Joel Sherrill
2002-12-02 19:15:58 +00:00
parent 35ee867eb9
commit bbad6f0f79
2 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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