summaryrefslogtreecommitdiff
path: root/source4/lib/zlib/zutil.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-15 13:32:51 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-18 15:25:40 +0200
commit5e4f668468d83b09765c4b15ff1b40b88401fb00 (patch)
treed20132113c89c212afaf0871736fc08d4674a9e5 /source4/lib/zlib/zutil.h
parent41fdbffa72cab3c4f18ef5f34ab2fa0ec10d4d53 (diff)
downloadsamba-5e4f668468d83b09765c4b15ff1b40b88401fb00.tar.gz
samba-5e4f668468d83b09765c4b15ff1b40b88401fb00.tar.bz2
samba-5e4f668468d83b09765c4b15ff1b40b88401fb00.zip
zlib: fix compiler warnings
metze (This used to be commit ce44a608f66bf27070fd43d576551fde6f545d7c)
Diffstat (limited to 'source4/lib/zlib/zutil.h')
-rw-r--r--source4/lib/zlib/zutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/zlib/zutil.h b/source4/lib/zlib/zutil.h
index b7d5eff81b..edd8e0acbb 100644
--- a/source4/lib/zlib/zutil.h
+++ b/source4/lib/zlib/zutil.h
@@ -56,7 +56,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)]
#define ERR_RETURN(strm,err) \
- return (strm->msg = (char*)ERR_MSG(err), (err))
+ return (strm->msg = ERR_MSG(err), (err))
/* To be used only when the state is known to be valid */
/* common constants */