Skip to content

Commit fb26fc4

Browse files
committed
Allow minigzip to compile when testing with ./configure --solo.
1 parent d465465 commit fb26fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/minigzip.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void file_uncompress(file)
500500
char *infile, *outfile;
501501
FILE *out;
502502
gzFile in;
503-
z_size_t len = strlen(file);
503+
unsigned len = strlen(file);
504504

505505
if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) {
506506
fprintf(stderr, "%s: filename too long\n", prog);

0 commit comments

Comments
 (0)