diff options
author | markm <markm@FreeBSD.org> | 2002-08-01 11:29:05 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-08-01 11:29:05 +0000 |
commit | eb7b85d384948f7e8747f97ece4bd95540ff3f56 (patch) | |
tree | 50eb6470c037acba7ffbbd80039c41f9a8eb728a /lib/libz | |
parent | 7884f69d0c458139263f6343b511c4e36912cdbe (diff) | |
download | FreeBSD-src-eb7b85d384948f7e8747f97ece4bd95540ff3f56.zip FreeBSD-src-eb7b85d384948f7e8747f97ece4bd95540ff3f56.tar.gz |
Fix an easy warning in a local addition.
Diffstat (limited to 'lib/libz')
-rw-r--r-- | lib/libz/minigzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libz/minigzip.c b/lib/libz/minigzip.c index bed484f..3617dfc 100644 --- a/lib/libz/minigzip.c +++ b/lib/libz/minigzip.c @@ -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); |