summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h2
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;