Skip to content

Commit

Permalink
Fix test/infcover.c function prototype when ZLIB_CONST defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Jul 11, 2024
1 parent 3adaa09 commit ceadaf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/infcover.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* infcover.c -- test zlib's inflate routines with full code coverage
* Copyright (C) 2011, 2016 Mark Adler
* Copyright (C) 2011, 2016, 2024 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/

Expand Down Expand Up @@ -444,7 +444,7 @@ local void cover_wrap(void)
}

/* input and output functions for inflateBack() */
local unsigned pull(void *desc, unsigned char **buf)
local unsigned pull(void *desc, unsigned char z_const **buf)
{
static unsigned int next = 0;
static unsigned char dat[] = {0x63, 0, 2, 0};
Expand Down

0 comments on commit ceadaf2

Please sign in to comment.