Skip to content

Commit d981609

Browse files
committed
read_non_idat_chunks(): fix redeclaration
1 parent 83e9e68 commit d981609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spng/spng.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2847,7 +2847,7 @@ static int read_non_idat_chunks(spng_ctx *ctx)
28472847

28482848
translated_keyword_offset = term - data + 1;
28492849

2850-
const unsigned char *zlib_stream = memchr(data + translated_keyword_offset, 0, peek_bytes - translated_keyword_offset);
2850+
zlib_stream = memchr(data + translated_keyword_offset, 0, peek_bytes - translated_keyword_offset);
28512851
if(zlib_stream == NULL) return SPNG_EITXT;
28522852
if(zlib_stream == peek_end) return SPNG_EITXT;
28532853

0 commit comments

Comments
 (0)