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

pull/125/merge
Mark Adler 8 years ago
parent d46546544a
commit fb26fc427f
  1. 2
      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);

Loading…
Cancel
Save