From 2d6d59e4728a45240c9d238adbeb33032e9eb19d Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 1 Oct 2022 16:52:35 -0700 Subject: [PATCH] Avoid conversion warning in minigzip.c. --- test/minigzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/minigzip.c b/test/minigzip.c index e22fb08..a649d2b 100644 --- a/test/minigzip.c +++ b/test/minigzip.c @@ -500,7 +500,7 @@ void file_uncompress(file) char *infile, *outfile; FILE *out; gzFile in; - unsigned len = strlen(file); + z_size_t len = strlen(file); if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) { fprintf(stderr, "%s: filename too long\n", prog);