summaryrefslogtreecommitdiff
path: root/source4/lib/zlib/zutil.h
diff options
context:
space:
mode:
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 */