diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:20:29 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:20:29 -0700 |
commit | 14763ac7c6c03bca62c39e35c03cf5bfc7728802 (patch) | |
tree | f1055d11ef7b282b698ce7c40e1a9c061413cbdf /zutil.c | |
parent | c34c1fcbb19852ca35216ad66276f4f86af3fc22 (diff) | |
download | zlib-14763ac7c6c03bca62c39e35c03cf5bfc7728802.tar.gz zlib-14763ac7c6c03bca62c39e35c03cf5bfc7728802.tar.bz2 zlib-14763ac7c6c03bca62c39e35c03cf5bfc7728802.zip |
zlib 1.1.3v1.1.3
Diffstat (limited to 'zutil.c')
-rw-r--r-- | zutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -60,7 +60,7 @@ const char * ZEXPORT zError(err) | |||
60 | 60 | ||
61 | void zmemcpy(dest, source, len) | 61 | void zmemcpy(dest, source, len) |
62 | Bytef* dest; | 62 | Bytef* dest; |
63 | Bytef* source; | 63 | const Bytef* source; |
64 | uInt len; | 64 | uInt len; |
65 | { | 65 | { |
66 | if (len == 0) return; | 66 | if (len == 0) return; |
@@ -70,8 +70,8 @@ void zmemcpy(dest, source, len) | |||
70 | } | 70 | } |
71 | 71 | ||
72 | int zmemcmp(s1, s2, len) | 72 | int zmemcmp(s1, s2, len) |
73 | Bytef* s1; | 73 | const Bytef* s1; |
74 | Bytef* s2; | 74 | const Bytef* s2; |
75 | uInt len; | 75 | uInt len; |
76 | { | 76 | { |
77 | uInt j; | 77 | uInt j; |
@@ -178,7 +178,7 @@ void zcfree (voidpf opaque, voidpf ptr) | |||
178 | 178 | ||
179 | # define MY_ZCALLOC | 179 | # define MY_ZCALLOC |
180 | 180 | ||
181 | #if (!defined(_MSC_VER) || (_MSC_VER < 600)) | 181 | #if (!defined(_MSC_VER) || (_MSC_VER <= 600)) |
182 | # define _halloc halloc | 182 | # define _halloc halloc |
183 | # define _hfree hfree | 183 | # define _hfree hfree |
184 | #endif | 184 | #endif |