mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[zstd] casts to silence compiler
This commit is contained in:
parent
da183d94f6
commit
7e2749c127
@ -141,7 +141,7 @@ zstd_read(struct stream_encoded *stream, char *buf, int len)
|
||||
mem_free(data->output.dst);
|
||||
data->output.dst = NULL;
|
||||
} else {
|
||||
memcpy(buf, data->output.dst + data->sent_pos, length);
|
||||
memcpy(buf, (void *)((char *)(data->output.dst) + data->sent_pos), length);
|
||||
data->sent_pos += length;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user