mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
examples/http_chunked_compression.c: fixed void pointer arithmetic
This commit is contained in:
@@ -92,7 +92,7 @@ compress_buf (z_stream *strm, const void *src, size_t src_size, size_t *offset,
|
||||
return MHD_NO;
|
||||
}
|
||||
*dest = tmp_dest;
|
||||
memcpy ((*dest) + ((*dest_size) - have), tmp, have);
|
||||
memcpy (((char *) (*dest)) + ((*dest_size) - have), tmp, have);
|
||||
}
|
||||
while (0 == strm->avail_out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user