This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The appended patch fixes: iofdopen.c:135: warning: passing arg 1 of `_IO_setb' from incompatible pointer type iofdopen.c:135: warning: passing arg 1 of `_IO_setb_internal' from incompatible pointer type Ok to commit? Andreas 2002-03-17 Andreas Jaeger <aj@suse.de> * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct type to _IO_setb. ============================================================ Index: libio/iofdopen.c --- libio/iofdopen.c 16 Mar 2002 03:58:05 -0000 1.20 +++ libio/iofdopen.c 17 Mar 2002 09:00:38 -0000 @@ -132,7 +132,7 @@ _IO_new_fdopen (fd, mode) #endif if (INTUSE(_IO_file_attach) ((_IO_FILE *) &new_f->fp, fd) == NULL) { - INTUSE(_IO_setb) (&new_f->fp, NULL, NULL, 0); + INTUSE(_IO_setb) (&new_f->fp.file, NULL, NULL, 0); INTUSE(_IO_un_link) (&new_f->fp); free (new_f); return NULL; -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Attachment:
msg00070/pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |