This is the mail archive of the libc-hacker@sourceware.cygnus.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]

Patch for tst-cookie



With Roland's recent patch to libio.h I get the following warning:
tst-cookie.c:74: warning: assignment from incompatible pointer type

A patch is appended.

Andreas

2000-03-23  Andreas Jaeger  <aj@suse.de>

	* stdio-common/tst-cookie.c (cookieseek): Change prototype to
	follow change for libio.h from 2000-03-10.

============================================================
Index: stdio-common/tst-cookie.c
--- stdio-common/tst-cookie.c	1999/08/25 00:51:32	1.1
+++ stdio-common/tst-cookie.c	2000/03/23 17:20:16
@@ -39,7 +39,7 @@
 
 static int cookieseek_called;
 static int
-cookieseek (void *cookie, off_t offset, int whence)
+cookieseek (void *cookie, off64_t *offset, int whence)
 {
   printf ("`%s' called with cookie %#lx\n", __FUNCTION__,
 	  (unsigned long int) cookie);

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]