From 4d46255e2317a9febdf36368496fa958056883e2 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sun, 29 Mar 2020 14:45:05 +0100 Subject: Fix compiler warnings Mostly a metric ton of unused variables --- src/game/g_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_local.h') 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; -- cgit