diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-13 11:30:00 +0000 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:24:16 +0200 |
commit | a989cd97673eb20dbd9a2fed5723832d5cd39512 (patch) | |
tree | 59704a9b25a8b940811b2d4023884cdc37e231f8 /src/game/g_local.h | |
parent | 5e472f35354986a26ec9460fff2fc8b14dadf773 (diff) |
fix a couple of compiler warnings
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index 2294f6f..5ca1f96 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -1306,7 +1306,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) ((size_t)&(((gentity_t *)0)->x)) //spree values #define SPREE_FEED_VALUE 120 |