mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Fix crashes on 64-bit due to unintended address truncation on ptr vars
git-svn-id: https://svn.eduke32.com/eduke32@2005 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b3d3fd9a39
commit
ea171d5230
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue