Fix an easy warning in a local addition.

This commit is contained in:
Mark Murray 2002-08-01 11:29:05 +00:00
parent 1e6690e5db
commit c13373b7d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101146

View file

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