about summary refs log tree commit diff
path: root/debug/vswprintf_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/vswprintf_chk.c')
-rw-r--r--debug/vswprintf_chk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/vswprintf_chk.c b/debug/vswprintf_chk.c
index 816955707f..c6a7edcacd 100644
--- a/debug/vswprintf_chk.c
+++ b/debug/vswprintf_chk.c
@@ -59,7 +59,7 @@ __vswprintf_chk (wchar_t *s, size_t maxlen, int flags, size_t slen,
     sf.f._sbf._f._flags2 |= _IO_FLAGS2_FORTIFY;
 
   _IO_wstr_init_static (&sf.f._sbf._f, s, maxlen - 1, s);
-  ret = _IO_vfwprintf ((_IO_FILE *) &sf.f._sbf, format, args);
+  ret = _IO_vfwprintf ((FILE *) &sf.f._sbf, format, args);
 
   if (sf.f._sbf._f._wide_data->_IO_buf_base == sf.overflow_buf)
     /* ISO C99 requires swprintf/vswprintf to return an error if the