summaryrefslogtreecommitdiffstats
path: root/lib/libz
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-08-01 11:29:05 +0000
committermarkm <markm@FreeBSD.org>2002-08-01 11:29:05 +0000
commiteb7b85d384948f7e8747f97ece4bd95540ff3f56 (patch)
tree50eb6470c037acba7ffbbd80039c41f9a8eb728a /lib/libz
parent7884f69d0c458139263f6343b511c4e36912cdbe (diff)
downloadFreeBSD-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.c2
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);
OpenPOWER on IntegriCloud