summaryrefslogtreecommitdiff
path: root/src/wchar
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar')
-rw-r--r--src/wchar/vfwprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wchar/vfwprintf.c b/src/wchar/vfwprintf.c
index 55662dff..df9ab381 100644
--- a/src/wchar/vfwprintf.c
+++ b/src/wchar/vfwprintf.c
@@ -10,7 +10,7 @@ int vfwprintf(FILE * restrict stream, const wchar_t * restrict format, va_list a
struct io_options opt = {0};
opt.fnname = "vfwprintf";
opt.stream = stream;
- ret = __printf(&opt, NULL /* format */, arg);
+ ret = __printf(&opt, (const char*)format, arg);
return ret;
}