aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/isoc99_vswscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/isoc99_vswscanf.c')
-rw-r--r--wcsmbs/isoc99_vswscanf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/wcsmbs/isoc99_vswscanf.c b/wcsmbs/isoc99_vswscanf.c
index 3cea62e..1307691 100644
--- a/wcsmbs/isoc99_vswscanf.c
+++ b/wcsmbs/isoc99_vswscanf.c
@@ -29,8 +29,7 @@
#include "../libio/strfile.h"
int
-__isoc99_vswscanf (const wchar_t *string, const wchar_t *format,
- _IO_va_list args)
+__isoc99_vswscanf (const wchar_t *string, const wchar_t *format, va_list args)
{
int ret;
_IO_strfile sf;
@@ -42,7 +41,7 @@ __isoc99_vswscanf (const wchar_t *string, const wchar_t *format,
_IO_fwide (&sf._sbf._f, 1);
_IO_wstr_init_static (&sf._sbf._f, (wchar_t *)string, 0, NULL);
sf._sbf._f._flags2 |= _IO_FLAGS2_SCANF_STD;
- ret = _IO_vfwscanf ((_IO_FILE *) &sf._sbf, format, args, NULL);
+ ret = _IO_vfwscanf ((FILE *) &sf._sbf, format, args, NULL);
return ret;
}
libc_hidden_def (__isoc99_vswscanf)