summaryrefslogtreecommitdiff
path: root/zutil.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:20:29 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:20:29 -0700
commit14763ac7c6c03bca62c39e35c03cf5bfc7728802 (patch)
treef1055d11ef7b282b698ce7c40e1a9c061413cbdf /zutil.c
parentc34c1fcbb19852ca35216ad66276f4f86af3fc22 (diff)
downloadzlib-1.1.3.tar.gz
zlib-1.1.3.tar.bz2
zlib-1.1.3.zip
zlib 1.1.3v1.1.3
Diffstat (limited to '')
-rw-r--r--zutil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zutil.c b/zutil.c
index 5a3fe6e..b3de4e8 100644
--- a/zutil.c
+++ b/zutil.c
@@ -60,7 +60,7 @@ const char * ZEXPORT zError(err)
60 60
61void zmemcpy(dest, source, len) 61void 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
72int zmemcmp(s1, s2, len) 72int 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