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)