From db437047f89196dc153e3c51f72590582fc1255e Mon Sep 17 00:00:00 2001 From: Gregor Richards Date: Sun, 30 Oct 2016 14:49:34 -0400 Subject: [PATCH] Don't use z_const, which is apparently not always defined. --- network/netplay/netplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/netplay/netplay.c b/network/netplay/netplay.c index f53b7dc5a3..a5cd1ff0e4 100644 --- a/network/netplay/netplay.c +++ b/network/netplay/netplay.c @@ -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;