From dbf5cd2b57217eb6c73488177fc6a096ead934b6 Mon Sep 17 00:00:00 2001 From: dillon Date: Wed, 27 Jan 1999 22:42:27 +0000 Subject: Fix warnings in preparation for adding -Wall -Wcast-qual to the kernel compile --- sys/net/zlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/zlib.h') diff --git a/sys/net/zlib.h b/sys/net/zlib.h index 13fe524..b9499cb 100644 --- a/sys/net/zlib.h +++ b/sys/net/zlib.h @@ -1,4 +1,4 @@ -/* $Id: zlib.h,v 1.3 1997/08/19 14:10:50 peter Exp $ */ +/* $Id: zlib.h,v 1.4 1998/03/21 20:56:16 peter Exp $ */ /* * This file is derived from zlib.h and zconf.h from the zlib-1.0.4 @@ -281,7 +281,7 @@ typedef struct z_stream_s { uInt avail_out; /* remaining free space at next_out */ uLong total_out; /* total nb of bytes output so far */ - char *msg; /* last error message, NULL if no error */ + const char *msg; /* last error message, NULL if no error */ struct internal_state FAR *state; /* not visible by applications */ alloc_func zalloc; /* used to allocate the internal state */ -- cgit v1.1