From 604f35e2dd878b2fd8bebbf2994f6d91e697a03e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 May 2009 18:07:26 +0000 Subject: 2009-05-08 Joel Sherrill * posix/include/rtems/posix/psignal.h, rtems/inline/rtems/rtems/support.inl: Remove warnings. --- cpukit/rtems/inline/rtems/rtems/support.inl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/rtems/inline/rtems/rtems/support.inl') diff --git a/cpukit/rtems/inline/rtems/rtems/support.inl b/cpukit/rtems/inline/rtems/rtems/support.inl index 0f4defc92f..23becf8497 100644 --- a/cpukit/rtems/inline/rtems/rtems/support.inl +++ b/cpukit/rtems/inline/rtems/rtems/support.inl @@ -53,10 +53,10 @@ RTEMS_INLINE_ROUTINE void rtems_name_to_characters( char *c4 ) { - *c1 = (name >> 24) & 0xff; - *c2 = (name >> 16) & 0xff; - *c3 = (name >> 8) & 0xff; - *c4 = name & 0xff; + *c1 = (char) ((name >> 24) & 0xff); + *c2 = (char) ((name >> 16) & 0xff); + *c3 = (char) ((name >> 8) & 0xff); + *c4 = (char) ( name & 0xff); } /**@}*/ -- cgit v1.2.3