diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2024-02-09 16:46:55 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2024-02-09 20:11:39 -0800 |
commit | 1bff6f0fd500ab2556b235adebe8a376b0cd85a1 (patch) | |
tree | 09cb41e3bc88c8beeabb812d13d4a470537fd628 /test | |
parent | 7a7202de3568522dfc75a455927ccbd7faf63411 (diff) | |
download | zlib-1bff6f0fd500ab2556b235adebe8a376b0cd85a1.tar.gz zlib-1bff6f0fd500ab2556b235adebe8a376b0cd85a1.tar.bz2 zlib-1bff6f0fd500ab2556b235adebe8a376b0cd85a1.zip |
Avoid signedness change warning in test/minigzip.c.
Diffstat (limited to 'test')
-rw-r--r-- | test/minigzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/minigzip.c b/test/minigzip.c index d5173b5..ec86e3f 100644 --- a/test/minigzip.c +++ b/test/minigzip.c | |||
@@ -426,7 +426,7 @@ static void file_compress(char *file, char *mode) { | |||
426 | } | 426 | } |
427 | 427 | ||
428 | end = string_copy(outfile, file, sizeof(outfile)); | 428 | end = string_copy(outfile, file, sizeof(outfile)); |
429 | string_copy(end, GZ_SUFFIX, (outfile + sizeof(outfile)) - end); | 429 | string_copy(end, GZ_SUFFIX, sizeof(outfile) - (z_size_t)(end - outfile)); |
430 | 430 | ||
431 | in = fopen(file, "rb"); | 431 | in = fopen(file, "rb"); |
432 | if (in == NULL) { | 432 | if (in == NULL) { |