cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warning

This commit is contained in:
Joel Sherrill
2015-03-18 10:42:14 -05:00
parent 5ce776ec62
commit 5cd910bf3a

View File

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