aboutsummaryrefslogtreecommitdiff
path: root/libio/vsnprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/vsnprintf.c')
-rw-r--r--libio/vsnprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/vsnprintf.c b/libio/vsnprintf.c
index 6a45a3a199..66e1ae3421 100644
--- a/libio/vsnprintf.c
+++ b/libio/vsnprintf.c
@@ -126,7 +126,7 @@ _IO_vsnprintf (string, maxlen, format, args)
_IO_JUMPS ((struct _IO_FILE_plus *) &sf.f._sbf) = &_IO_strn_jumps;
string[0] = '\0';
_IO_str_init_static (&sf.f, string, maxlen - 1, string);
- ret = _IO_vfprintf (&sf.f._sbf._f, format, args);
+ ret = _IO_vfprintf ((_IO_FILE *) &sf.f._sbf, format, args);
if (sf.f._sbf._f._IO_buf_base != sf.overflow_buf)
*sf.f._sbf._f._IO_write_ptr = '\0';