diff --git a/polymer/eduke32/source/gamevars.c b/polymer/eduke32/source/gamevars.c index 3f6f46518..756f99fcb 100644 --- a/polymer/eduke32/source/gamevars.c +++ b/polymer/eduke32/source/gamevars.c @@ -422,7 +422,7 @@ int32_t Gv_NewArray(const char *pszLabel, int32_t asize) return 1; } -int32_t Gv_NewVar(const char *pszLabel, int32_t lValue, uint32_t dwFlags) +int32_t Gv_NewVar(const char *pszLabel, intptr_t lValue, uint32_t dwFlags) { int32_t i, j; diff --git a/polymer/eduke32/source/gamevars.h b/polymer/eduke32/source/gamevars.h index 582f17a9f..9eb7ed323 100644 --- a/polymer/eduke32/source/gamevars.h +++ b/polymer/eduke32/source/gamevars.h @@ -83,7 +83,7 @@ int32_t __fastcall Gv_GetVar(register int32_t id,register int32_t iActor,registe int32_t __fastcall Gv_GetVarX(register int32_t id); int32_t Gv_GetVarByLabel(const char *szGameLabel,int32_t lDefault,int32_t iActor,int32_t iPlayer); int32_t Gv_NewArray(const char *pszLabel,int32_t asize); -int32_t Gv_NewVar(const char *pszLabel,int32_t lValue,uint32_t dwFlags); +int32_t Gv_NewVar(const char *pszLabel,intptr_t lValue,uint32_t dwFlags); int32_t Gv_ReadSave(int32_t fil,int32_t newbehav); void __fastcall A_ResetVars(register int32_t iActor); void __fastcall Gv_SetVar(register int32_t id,register int32_t lValue,register int32_t iActor,register int32_t iPlayer);