summaryrefslogtreecommitdiff
path: root/cpan/Compress-Raw-Zlib/zlib-src/zutil.c
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-05-27 22:53:30 +0100
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-05-27 22:53:30 +0100
commit1cae22935619e1afdd20b077ec901cbee90536d7 (patch)
tree1d1e47c37f6c5017bb9e3aebd4e66ddb5fc809f2 /cpan/Compress-Raw-Zlib/zlib-src/zutil.c
parent3383dc2c38271fef318bd4d8d6f10c0ea537aceb (diff)
downloadperl-1cae22935619e1afdd20b077ec901cbee90536d7.tar.gz
Update Compress-Raw-Zlib to CPAN version 2.061
[DELTA] 2.061 19 May 2013 * Include zlib 1.2.8 source. * typo fix [#85431] * silence compiler warning by making 2nd parameter to DispStream a const char*
Diffstat (limited to 'cpan/Compress-Raw-Zlib/zlib-src/zutil.c')
-rw-r--r--cpan/Compress-Raw-Zlib/zlib-src/zutil.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/zutil.c b/cpan/Compress-Raw-Zlib/zlib-src/zutil.c
index 6498287e3d..5688d4f7e2 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/zutil.c
+++ b/cpan/Compress-Raw-Zlib/zlib-src/zutil.c
@@ -14,17 +14,17 @@
struct internal_state {int dummy;}; /* for buggy compilers */
#endif
-const char * const z_errmsg[10] = {
-"need dictionary", /* Z_NEED_DICT 2 */
-"stream end", /* Z_STREAM_END 1 */
-"", /* Z_OK 0 */
-"file error", /* Z_ERRNO (-1) */
-"stream error", /* Z_STREAM_ERROR (-2) */
-"data error", /* Z_DATA_ERROR (-3) */
-"insufficient memory", /* Z_MEM_ERROR (-4) */
-"buffer error", /* Z_BUF_ERROR (-5) */
-"incompatible version",/* Z_VERSION_ERROR (-6) */
-""};
+z_const char * const z_errmsg[10] = {
+(char*)"need dictionary", /* Z_NEED_DICT 2 */
+(char*)"stream end", /* Z_STREAM_END 1 */
+(char*)"", /* Z_OK 0 */
+(char*)"file error", /* Z_ERRNO (-1) */
+(char*)"stream error", /* Z_STREAM_ERROR (-2) */
+(char*)"data error", /* Z_DATA_ERROR (-3) */
+(char*)"insufficient memory", /* Z_MEM_ERROR (-4) */
+(char*)"buffer error", /* Z_BUF_ERROR (-5) */
+(char*)"incompatible version",/* Z_VERSION_ERROR (-6) */
+(char*)""};
const char * ZEXPORT zlibVersion()