---
 cpukit/libmisc/shell/hexdump-conv.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cpukit/libmisc/shell/hexdump-conv.c 
b/cpukit/libmisc/shell/hexdump-conv.c
index ae1540f..fc579af 100644
--- a/cpukit/libmisc/shell/hexdump-conv.c
+++ b/cpukit/libmisc/shell/hexdump-conv.c
@@ -142,7 +142,11 @@ retry:
                        pad = 3 - width;
                        if (pad < 0)
                                pad = 0;
-                         (void)printf("%*s%lc", pad, "", wc);
+                         #if defined(__rtems__)
+                           (void)printf("%*s%lc", pad, "", (wint_t)wc);
+                         #else
+                           (void)printf("%*s%lc", pad, "", wc);
+                         #endif
                        pr->mbleft = clen - 1;
                }
        } else {
-- 
1.9.3

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to