diff options
| author | Mark Murray <markm@FreeBSD.org> | 2002-08-01 11:29:05 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2002-08-01 11:29:05 +0000 |
| commit | c13373b7d727a32eac1b48f6e730425fa96cf5cf (patch) | |
| tree | 50eb6470c037acba7ffbbd80039c41f9a8eb728a | |
| parent | 1e6690e5db506447842088b9c63636b8423bfce4 (diff) | |
Notes
| -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 bed484f51b6b..3617dfca7c42 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); |
