From f3913e0511f9c8cbc97aee61e3a9aa8368714eaa Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Sat, 3 Oct 2009 13:00:43 +0000 Subject: * Fix an annoying warning --- src/game/g_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/g_local.h b/src/game/g_local.h index 8e1a31d1..ce59a70b 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -1031,7 +1031,7 @@ void G_DeletePTRConnection( connectionRecord_t *connection ); 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_dedicated; extern vmCvar_t g_cheats; -- cgit