aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/vfprintf.c')
-rw-r--r--stdio-common/vfprintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 216ab291fa..3f13026e14 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -969,9 +969,10 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
if (!left) \
PAD (L' '); \
if (fspec == NULL) \
- outchar (btowc ((unsigned char) va_arg (ap, int))); /* Promoted. */ \
+ outchar (__btowc ((unsigned char) va_arg (ap, int))); /* Promoted. */ \
else \
- outchar (btowc ((unsigned char) args_value[fspec->data_arg].pa_char));\
+ outchar (__btowc ((unsigned char) \
+ args_value[fspec->data_arg].pa_char)); \
if (left) \
PAD (L' '); \
break; \