From ea74788828dfaf5232ff85d324b985c089b6da4c Mon Sep 17 00:00:00 2001 From: ludwig Date: Sun, 19 Aug 2007 12:05:17 +0000 Subject: fix gcc 4.2 warnings about cast from pointer to integer (#3317) git-svn-id: svn://svn.icculus.org/quake3/trunk@1125 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/game/g_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/game') 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; -- cgit v1.2.3