mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
426 B
C
16 lines
426 B
C
$NetBSD: patch-src_memgzio.c,v 1.1 2012/09/29 21:27:14 dholland Exp $
|
|
|
|
- Use const types correctly: const void * != void *const.
|
|
|
|
--- src/memgzio.c~ 2004-01-17 23:07:32.000000000 +0000
|
|
+++ src/memgzio.c
|
|
@@ -540,7 +540,7 @@ int ZEXPORT memgzread (file, buf, len)
|
|
*/
|
|
int ZEXPORT memgzwrite (file, buf, len)
|
|
gzFile file;
|
|
- const voidp buf;
|
|
+ voidpc buf;
|
|
unsigned len;
|
|
{
|
|
mem_stream *s = (mem_stream*)file;
|