From f568146387e208db306ce613d31138501cf7e16c Mon Sep 17 00:00:00 2001 From: qbix79 Date: Thu, 7 May 2009 18:50:53 +0000 Subject: [PATCH] Fix memory addresses being either 32 or 64 bit git-svn-id: https://svn.eduke32.com/eduke32@1367 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gamevars.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/gamevars.c b/polymer/eduke32/source/gamevars.c index b8525ef5b..ed78d27b0 100644 --- a/polymer/eduke32/source/gamevars.c +++ b/polymer/eduke32/source/gamevars.c @@ -1607,7 +1607,7 @@ static void Gv_AddSystemVars(void) Gv_NewVar("lastsavepos",(intptr_t)&g_lastSaveSlot, GAMEVAR_SYSTEM | GAMEVAR_INTPTR | GAMEVAR_SYNCCHECK); #ifdef POLYMOST - Gv_NewVar("rendmode",(int32_t)&rendmode, GAMEVAR_READONLY | GAMEVAR_INTPTR | GAMEVAR_SYSTEM | GAMEVAR_SYNCCHECK); + Gv_NewVar("rendmode",(intptr_t)&rendmode, GAMEVAR_READONLY | GAMEVAR_INTPTR | GAMEVAR_SYSTEM | GAMEVAR_SYNCCHECK); #endif } @@ -1762,6 +1762,6 @@ void Gv_RefreshPointers(void) aGameVars[Gv_GetVarIndex("lastsavepos")].val.lValue = (intptr_t)&g_lastSaveSlot; #ifdef POLYMOST - aGameVars[Gv_GetVarIndex("rendmode")].val.lValue = (int32_t)&rendmode; + aGameVars[Gv_GetVarIndex("rendmode")].val.lValue = (intptr_t)&rendmode; #endif }