aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
Diffstat (limited to 'code/game')
-rw-r--r--code/game/g_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game/g_local.h b/code/game/g_local.h
index 74c55e6..2efc4c1 100644
--- a/code/game/g_local.h
+++ b/code/game/g_local.h
@@ -712,7 +712,7 @@ void BotTestAAS(vec3_t origin);
extern level_locals_t level;
extern gentity_t g_entities[MAX_GENTITIES];
-#define FOFS(x) ((int)&(((gentity_t *)0)->x))
+#define FOFS(x) ((size_t)&(((gentity_t *)0)->x))
extern vmCvar_t g_gametype;
extern vmCvar_t g_dedicated;