Allow minigzip to compile when testing with ./configure --solo.

This commit is contained in:
Mark Adler 2016-12-30 22:04:22 -08:00
parent d46546544a
commit fb26fc427f
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ void file_uncompress(file)
char *infile, *outfile; char *infile, *outfile;
FILE *out; FILE *out;
gzFile in; gzFile in;
z_size_t len = strlen(file); unsigned len = strlen(file);
if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) { if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) {
fprintf(stderr, "%s: filename too long\n", prog); fprintf(stderr, "%s: filename too long\n", prog);