diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-03-29 14:45:05 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-03-29 14:45:05 +0100 |
commit | 4d46255e2317a9febdf36368496fa958056883e2 (patch) | |
tree | fba0c60b70c5616e7055ac142cdd7d22687fdc90 /src/game/g_local.h | |
parent | 0092faa58e55ee8fd29e2887573bffbb8c5d7faa (diff) |
Fix compiler warnings
Mostly a metric ton of unused variables
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index b5e6e8c..ded4d63 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -1304,7 +1304,7 @@ connectionRecord_t *G_FindConnectionForCode( int code ); extern level_locals_t level; extern gentity_t g_entities[ MAX_GENTITIES ]; -#define FOFS(x) ((int)&(((gentity_t *)0)->x)) +#define FOFS(x) ((intptr_t)&(((gentity_t *)0)->x)) extern vmCvar_t g_dedicated; extern vmCvar_t g_cheats; |