mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
Fix an easy warning in a local addition.
This commit is contained in:
parent
1e6690e5db
commit
c13373b7d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101146
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue