removed cast error in wrapper_zip.c
diff --git a/DocFormats/platform/src/Wrapper_zip.c b/DocFormats/platform/src/Wrapper_zip.c
index e749fb4..c695472 100644
--- a/DocFormats/platform/src/Wrapper_zip.c
+++ b/DocFormats/platform/src/Wrapper_zip.c
@@ -346,8 +346,9 @@
// deflate buffer
strm.avail_in = strm.avail_out = len;
- strm.next_in = buf;
- strm.next_out = outbuf = xmalloc(len);
+ strm.next_in = (Bytef *)buf;
+ outbuf = xmalloc(len);
+ strm.next_out = (Bytef *)outbuf;
deflate(&strm, Z_FINISH);
deflateEnd(&strm);
entryPtr->compressedSize = len - strm.avail_out;