Allow minigzip to compile when testing with ./configure --solo.
This commit is contained in:
parent
d46546544a
commit
fb26fc427f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user