summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems/rtems/support.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-08 18:07:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-08 18:07:26 +0000
commit604f35e2dd878b2fd8bebbf2994f6d91e697a03e (patch)
tree882d8e3f016cd53b1f4ad80e769f9a3a1320227a /cpukit/rtems/inline/rtems/rtems/support.inl
parent2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-604f35e2dd878b2fd8bebbf2994f6d91e697a03e.tar.bz2
2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/psignal.h, rtems/inline/rtems/rtems/support.inl: Remove warnings.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/inline/rtems/rtems/support.inl8
1 files changed, 4 insertions, 4 deletions
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);
}
/**@}*/