diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-02-28 15:33:03 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-02-28 15:33:03 -0500 |
commit | 3cf39d63902bdbdff2450e542a80e103ceb34571 (patch) | |
tree | 14adb95c65ebea7ea3f796a2c48ac6cf64987733 /src/wchar/vfwprintf.c | |
parent | a7b88fa1dacaf822fb0b12c62705eff45d551bc7 (diff) |
implement in terms of __printf()
Diffstat (limited to 'src/wchar/vfwprintf.c')
-rw-r--r-- | src/wchar/vfwprintf.c | 2 |
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; } |