aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/zout.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/sysdump/zout.c')
-rw-r--r--com32/sysdump/zout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/sysdump/zout.c b/com32/sysdump/zout.c
index 27e6669b..6ba6a5ca 100644
--- a/com32/sysdump/zout.c
+++ b/com32/sysdump/zout.c
@@ -36,7 +36,7 @@ int write_data(struct backend *be, const void *buf, size_t len, bool flush)
{
int rv = Z_OK;
- be->zstream.next_in = buf;
+ be->zstream.next_in = (void *)buf;
be->zstream.avail_in = len;
while (be->zstream.avail_in || (flush && rv == Z_OK)) {