From fb26fc427fb5b628e1ee062d08be334c1b8c3bbe Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 30 Dec 2016 22:04:22 -0800 Subject: [PATCH] Allow minigzip to compile when testing with ./configure --solo. --- test/minigzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/minigzip.c b/test/minigzip.c index 26c44ff9..850458c0 100644 --- a/test/minigzip.c +++ b/test/minigzip.c @@ -500,7 +500,7 @@ void file_uncompress(file) char *infile, *outfile; FILE *out; gzFile in; - z_size_t len = strlen(file); + unsigned len = strlen(file); if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) { fprintf(stderr, "%s: filename too long\n", prog);