diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2024-07-11 09:22:47 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-07-11 09:22:47 -0700 |
| commit | ceadaf28dfa48dbf238a0ddb884d4c543b4170e8 (patch) | |
| tree | 58e506d88a299e53e8460d8a519898bea7608a9e | |
| parent | 3adaa095a7a6c3f2cc00f73311f9bc8688c21aa7 (diff) | |
| download | zlib-ceadaf28dfa48dbf238a0ddb884d4c543b4170e8.tar.gz zlib-ceadaf28dfa48dbf238a0ddb884d4c543b4170e8.tar.bz2 zlib-ceadaf28dfa48dbf238a0ddb884d4c543b4170e8.zip | |
Fix test/infcover.c function prototype when ZLIB_CONST defined.
| -rw-r--r-- | test/infcover.c | 4 |
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() */ |
| 447 | local unsigned pull(void *desc, unsigned char **buf) | 447 | local 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}; |
