mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 19:29:13 +01:00
Fix amd64 build
This commit is contained in:
parent
9a02d7116f
commit
c5aa3aa40e
@ -40,7 +40,7 @@ extern globalvars_t *gpGlobals;
|
||||
#define STRING(offset) (const char *)(gpGlobals->pStringBase + (int)offset)
|
||||
|
||||
#if !defined XASH_64BIT || defined(CLIENT_DLL)
|
||||
#define MAKE_STRING(str) ((int)str - (int)STRING(0))
|
||||
#define MAKE_STRING(str) ((int)(long int)str - (int)(long int)STRING(0))
|
||||
#else
|
||||
static inline int MAKE_STRING(const char *szValue)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user