about summary refs log tree commit diff
path: root/libio/iovsscanf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-26 18:06:47 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-26 18:06:47 +0000
commitf521be31b96b5ca8b6d24c388d644f5dfcafac7d (patch)
tree544726903c19e06d378ab4012ee92eea2e74fe64 /libio/iovsscanf.c
parent4ec77f72fe0978027fb3f35eb0eb0078f24f4b2b (diff)
downloadglibc-f521be31b96b5ca8b6d24c388d644f5dfcafac7d.tar.gz
glibc-f521be31b96b5ca8b6d24c388d644f5dfcafac7d.tar.xz
glibc-f521be31b96b5ca8b6d24c388d644f5dfcafac7d.zip
* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
	Avoid warning by using may_alias attribute on ptrhack.
Diffstat (limited to 'libio/iovsscanf.c')
-rw-r--r--libio/iovsscanf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/iovsscanf.c b/libio/iovsscanf.c
index 10e4b0a9ac..6f8a826ef6 100644
--- a/libio/iovsscanf.c
+++ b/libio/iovsscanf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997-2003, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997-2003, 2006, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -40,9 +40,9 @@ _IO_vsscanf (string, format, args)
   sf._sbf._f._lock = NULL;
 #endif
   _IO_no_init (&sf._sbf._f, _IO_USER_LOCK, -1, NULL, NULL);
-  _IO_JUMPS ((struct _IO_FILE_plus *) &sf._sbf) = &_IO_str_jumps;
+  _IO_JUMPS (&sf._sbf) = &_IO_str_jumps;
   _IO_str_init_static_internal (&sf, (char*)string, 0, NULL);
-  ret = INTUSE(_IO_vfscanf) ((_IO_FILE *) &sf._sbf, format, args, NULL);
+  ret = INTUSE(_IO_vfscanf) (&sf._sbf._f, format, args, NULL);
   return ret;
 }
 ldbl_weak_alias (_IO_vsscanf, __vsscanf)