aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2024-07-11 09:22:47 -0700
committerMark Adler <madler@alumni.caltech.edu>2024-07-11 09:22:47 -0700
commitceadaf28dfa48dbf238a0ddb884d4c543b4170e8 (patch)
tree58e506d88a299e53e8460d8a519898bea7608a9e /test
parent3adaa095a7a6c3f2cc00f73311f9bc8688c21aa7 (diff)
downloadzlib-ceadaf28dfa48dbf238a0ddb884d4c543b4170e8.tar.gz
zlib-ceadaf28dfa48dbf238a0ddb884d4c543b4170e8.tar.bz2
zlib-ceadaf28dfa48dbf238a0ddb884d4c543b4170e8.zip
Fix test/infcover.c function prototype when ZLIB_CONST defined.
Diffstat (limited to 'test')
-rw-r--r--test/infcover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/infcover.c b/test/infcover.c
index da774b5..f1ad0f9 100644
--- a/test/infcover.c
+++ b/test/infcover.c
@@ -1,5 +1,5 @@
1/* infcover.c -- test zlib's inflate routines with full code coverage 1/* infcover.c -- test zlib's inflate routines with full code coverage
2 * Copyright (C) 2011, 2016 Mark Adler 2 * Copyright (C) 2011, 2016, 2024 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
@@ -444,7 +444,7 @@ local void cover_wrap(void)
444} 444}
445 445
446/* input and output functions for inflateBack() */ 446/* input and output functions for inflateBack() */
447local unsigned pull(void *desc, unsigned char **buf) 447local unsigned pull(void *desc, unsigned char z_const **buf)
448{ 448{
449 static unsigned int next = 0; 449 static unsigned int next = 0;
450 static unsigned char dat[] = {0x63, 0, 2, 0}; 450 static unsigned char dat[] = {0x63, 0, 2, 0};