Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printf

format string expects. This is only an issue on ARM EABI where wint_t is
different to wchar_t.
This commit is contained in:
andrew 2013-02-04 10:05:55 +00:00
parent 3da6055c2c
commit 26f22dcb90

View File

@ -516,7 +516,7 @@ static void
outfield(LINE *lp, u_long fieldno, int out_empty)
{
if (needsep++)
(void)printf("%lc", *tabchar);
(void)printf("%lc", (wint_t)*tabchar);
if (!ferror(stdout)) {
if (lp->fieldcnt <= fieldno || out_empty) {
if (empty != NULL)