summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src/zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/src/zlib.c')
-rw-r--r--contrib/cvs/src/zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cvs/src/zlib.c b/contrib/cvs/src/zlib.c
index fa0c2ad..3bfc542 100644
--- a/contrib/cvs/src/zlib.c
+++ b/contrib/cvs/src/zlib.c
@@ -467,9 +467,9 @@ gunzip_and_write (fd, fullname, buf, size)
if (buf[3] & 4)
pos += buf[pos] + (buf[pos + 1] << 8) + 2;
if (buf[3] & 8)
- pos += strlen (buf + pos) + 1;
+ pos += strlen ((char *) buf + pos) + 1;
if (buf[3] & 16)
- pos += strlen (buf + pos) + 1;
+ pos += strlen ((char *) buf + pos) + 1;
if (buf[3] & 2)
pos += 2;
OpenPOWER on IntegriCloud