diff options
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 |