about summary refs log tree commit diff
path: root/libio/iovswscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iovswscanf.c')
-rw-r--r--libio/iovswscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iovswscanf.c b/libio/iovswscanf.c
index 262b018fbe..4cf3f5ca23 100644
--- a/libio/iovswscanf.c
+++ b/libio/iovswscanf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU IO Library.
 
    This library is free software; you can redistribute it and/or
@@ -43,6 +43,6 @@ vswscanf (string, format, args)
   _IO_no_init (&sf._sbf._f, 0, 0, &wd, &_IO_wstr_jumps);
   _IO_fwide (&sf._sbf._f, 1);
   _IO_wstr_init_static (&sf._sbf._f, (wchar_t *)string, 0, NULL);
-  ret = _IO_vfwscanf (&sf._sbf._f, format, args, NULL);
+  ret = _IO_vfwscanf ((_IO_FILE *) &sf._sbf, format, args, NULL);
   return ret;
 }