forked from Imagelibrary/rtems
cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warning
This commit is contained in:
@@ -142,7 +142,11 @@ retry:
|
|||||||
pad = 3 - width;
|
pad = 3 - width;
|
||||||
if (pad < 0)
|
if (pad < 0)
|
||||||
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;
|
pr->mbleft = clen - 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user