Skip to content

Commit

Permalink
Merge pull request #2780 from rathann/fix-build-with-zlib-ng
Browse files Browse the repository at this point in the history
use plain memcpy instead of zmemcpy macro
  • Loading branch information
jeanlf committed Mar 13, 2024
2 parents 175bb55 + 102be01 commit 8492d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/gzio.c
Expand Up @@ -407,7 +407,7 @@ int gf_gzread(void *file, voidp buf, unsigned len)
uInt n = s->stream.avail_in;
if (n > s->stream.avail_out) n = s->stream.avail_out;
if (n > 0) {
zmemcpy(s->stream.next_out, s->stream.next_in, n);
memcpy(s->stream.next_out, s->stream.next_in, n);
next_out += n;
s->stream.next_out = next_out;
s->stream.next_in += n;
Expand Down

0 comments on commit 8492d5d

Please sign in to comment.