mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
Don't use z_const, which is apparently not always defined.
This commit is contained in:
parent
679ea058a4
commit
db437047f8
@ -1494,7 +1494,7 @@ void netplay_load_savestate(netplay_t *netplay,
|
||||
/* Compress it */
|
||||
memset(&stream, 0, sizeof(stream));
|
||||
deflateInit(&stream, Z_DEFAULT_COMPRESSION);
|
||||
stream.next_in = (z_const Bytef *) serial_info->data_const;
|
||||
stream.next_in = (Bytef *) serial_info->data_const;
|
||||
stream.avail_in = serial_info->size;
|
||||
stream.next_out = netplay->zbuffer;
|
||||
stream.avail_out = netplay->zbuffer_size;
|
||||
|
Loading…
Reference in New Issue
Block a user