summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems/rtems/support.inl
diff options
context:
space:
mode:
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);
}
/**@}*/