Patch for tst-cookie

Andreas Jaeger aj@suse.de
Thu Mar 23 09:21:00 GMT 2000


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


More information about the Libc-hacker mailing list