]> git.lizzy.rs Git - zlib.git/commitdiff
Allow minigzip to compile when testing with ./configure --solo.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 31 Dec 2016 06:04:22 +0000 (22:04 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Sat, 31 Dec 2016 06:04:22 +0000 (22:04 -0800)
test/minigzip.c

index 26c44ff9a69fe3df0ef35e7fae3e766d0fd6293b..850458c03a3259ee385084f2950bb35ff6169370 100644 (file)
@@ -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);