From 3cf39d63902bdbdff2450e542a80e103ceb34571 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 28 Feb 2019 15:33:03 -0500 Subject: implement in terms of __printf() --- src/wchar/vfwprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wchar') 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; } -- cgit v1.2.1