summaryrefslogtreecommitdiffstats
path: root/sys/net/zlib.h
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 22:42:27 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 22:42:27 +0000
commitdbf5cd2b57217eb6c73488177fc6a096ead934b6 (patch)
tree1de192fde2322188e529943e6982359b783fd78e /sys/net/zlib.h
parent5a53b379176ab48879944fa794655a1cbc840630 (diff)
downloadFreeBSD-src-dbf5cd2b57217eb6c73488177fc6a096ead934b6.zip
FreeBSD-src-dbf5cd2b57217eb6c73488177fc6a096ead934b6.tar.gz
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/net/zlib.h')
-rw-r--r--sys/net/zlib.h4
1 files changed, 2 insertions, 2 deletions
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 */
OpenPOWER on IntegriCloud