From 6a2ffa9e478139128a092e6c183e85a8f0176023 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 23 May 2013 18:27:36 +0000 Subject: [PATCH] MSVC build fix git-svn-id: https://svn.eduke32.com/eduke32@3802 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gameexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 6fb29af54..c9d38b01a 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -5356,7 +5356,7 @@ void G_SaveMapState(void) mapstate_t *save; if (mapinfo->savedstate == NULL) - mapinfo->savedstate = Bcalloc(1,sizeof(mapstate_t)); + mapinfo->savedstate = (mapstate_t *)Bcalloc(1,sizeof(mapstate_t)); save = mapinfo->savedstate; if (save != NULL)