From e69dcccbcb53b2c0f3fbe3f6c3e04aadae7e9265 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 18 May 2015 13:58:54 +0200 Subject: Avoid some aliasing violations in libio --- libio/oldiofopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libio/oldiofopen.c') diff --git a/libio/oldiofopen.c b/libio/oldiofopen.c index dac424a..a90a601 100644 --- a/libio/oldiofopen.c +++ b/libio/oldiofopen.c @@ -52,7 +52,7 @@ _IO_old_fopen (filename, mode) new_f->fp.file._file._lock = &new_f->lock; #endif _IO_old_init (&new_f->fp.file._file, 0); - _IO_JUMPS ((struct _IO_FILE_plus *) &new_f->fp) = &_IO_old_file_jumps; + _IO_JUMPS_FILE_plus (&new_f->fp) = &_IO_old_file_jumps; _IO_old_file_init ((struct _IO_FILE_plus *) &new_f->fp); #if !_IO_UNIFIED_JUMPTABLES new_f->fp.vtable = NULL; -- cgit v1.1