diff options
| author | Mark Adler <git@madler.net> | 2026-02-16 18:26:35 -0800 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-02-16 18:53:00 -0800 |
| commit | 33e71060aa657e80e87b8d73e9e5cc3dd9be4e8b (patch) | |
| tree | 88bdec7a6684c15406581b3fcee445e6f2cdb590 /inflate.c | |
| parent | d7bc8cafee5bdfde98732622d3b99e2f52f7b2eb (diff) | |
| download | zlib-33e71060aa657e80e87b8d73e9e5cc3dd9be4e8b.tar.gz zlib-33e71060aa657e80e87b8d73e9e5cc3dd9be4e8b.tar.bz2 zlib-33e71060aa657e80e87b8d73e9e5cc3dd9be4e8b.zip | |
Align the backup zmem* functions with their library counterparts.
Diffstat (limited to 'inflate.c')
| -rw-r--r-- | inflate.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1351,8 +1351,8 @@ int ZEXPORT inflateCopy(z_streamp dest, z_streamp source) { | |||
| 1351 | } | 1351 | } |
| 1352 | 1352 | ||
| 1353 | /* copy state */ | 1353 | /* copy state */ |
| 1354 | zmemcpy((voidpf)dest, (voidpf)source, sizeof(z_stream)); | 1354 | zmemcpy(dest, source, sizeof(z_stream)); |
| 1355 | zmemcpy((voidpf)copy, (voidpf)state, sizeof(struct inflate_state)); | 1355 | zmemcpy(copy, state, sizeof(struct inflate_state)); |
| 1356 | copy->strm = dest; | 1356 | copy->strm = dest; |
| 1357 | if (state->lencode >= state->codes && | 1357 | if (state->lencode >= state->codes && |
| 1358 | state->lencode <= state->codes + ENOUGH - 1) { | 1358 | state->lencode <= state->codes + ENOUGH - 1) { |
