diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2016-10-11 22:15:50 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2016-10-11 22:15:50 -0700 |
commit | 7096424f23df1b1813237fb5f8bc8f34cfcedd0c (patch) | |
tree | c41e8ef447e7e6764be5f3ba822fdc0c8da049f1 /zutil.c | |
parent | 2edb94a3025d288dc251bc6cbb2c02e60fbd7438 (diff) | |
download | zlib-7096424f23df1b1813237fb5f8bc8f34cfcedd0c.tar.gz zlib-7096424f23df1b1813237fb5f8bc8f34cfcedd0c.tar.bz2 zlib-7096424f23df1b1813237fb5f8bc8f34cfcedd0c.zip |
Clean up type conversions.
Diffstat (limited to 'zutil.c')
-rw-r--r-- | zutil.c | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -11,16 +11,17 @@ | |||
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | z_const char * const z_errmsg[10] = { | 13 | z_const char * const z_errmsg[10] = { |
14 | "need dictionary", /* Z_NEED_DICT 2 */ | 14 | (z_const char *)"need dictionary", /* Z_NEED_DICT 2 */ |
15 | "stream end", /* Z_STREAM_END 1 */ | 15 | (z_const char *)"stream end", /* Z_STREAM_END 1 */ |
16 | "", /* Z_OK 0 */ | 16 | (z_const char *)"", /* Z_OK 0 */ |
17 | "file error", /* Z_ERRNO (-1) */ | 17 | (z_const char *)"file error", /* Z_ERRNO (-1) */ |
18 | "stream error", /* Z_STREAM_ERROR (-2) */ | 18 | (z_const char *)"stream error", /* Z_STREAM_ERROR (-2) */ |
19 | "data error", /* Z_DATA_ERROR (-3) */ | 19 | (z_const char *)"data error", /* Z_DATA_ERROR (-3) */ |
20 | "insufficient memory", /* Z_MEM_ERROR (-4) */ | 20 | (z_const char *)"insufficient memory", /* Z_MEM_ERROR (-4) */ |
21 | "buffer error", /* Z_BUF_ERROR (-5) */ | 21 | (z_const char *)"buffer error", /* Z_BUF_ERROR (-5) */ |
22 | "incompatible version",/* Z_VERSION_ERROR (-6) */ | 22 | (z_const char *)"incompatible version",/* Z_VERSION_ERROR (-6) */ |
23 | ""}; | 23 | (z_const char *)"" |
24 | }; | ||
24 | 25 | ||
25 | 26 | ||
26 | const char * ZEXPORT zlibVersion() | 27 | const char * ZEXPORT zlibVersion() |