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:
parent
3da6055c2c
commit
26f22dcb90
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user