From 33e71060aa657e80e87b8d73e9e5cc3dd9be4e8b Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 16 Feb 2026 18:26:35 -0800 Subject: Align the backup zmem* functions with their library counterparts. --- inflate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inflate.c') diff --git a/inflate.c b/inflate.c index 6baa4dfe..91c01f99 100644 --- a/inflate.c +++ b/inflate.c @@ -1351,8 +1351,8 @@ int ZEXPORT inflateCopy(z_streamp dest, z_streamp source) { } /* copy state */ - zmemcpy((voidpf)dest, (voidpf)source, sizeof(z_stream)); - zmemcpy((voidpf)copy, (voidpf)state, sizeof(struct inflate_state)); + zmemcpy(dest, source, sizeof(z_stream)); + zmemcpy(copy, state, sizeof(struct inflate_state)); copy->strm = dest; if (state->lencode >= state->codes && state->lencode <= state->codes + ENOUGH - 1) { -- cgit v1.2.3-55-g6feb