diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-08-19 12:05:17 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-08-19 12:05:17 +0000 |
commit | ea74788828dfaf5232ff85d324b985c089b6da4c (patch) | |
tree | 98122da7893f0ab0036b4b4daaf341a7d68d3065 /code/qcommon | |
parent | bdb8ffe61b8baa8547755d1b27e43a9feb3868b9 (diff) | |
download | ioquake3-aero-ea74788828dfaf5232ff85d324b985c089b6da4c.tar.gz ioquake3-aero-ea74788828dfaf5232ff85d324b985c089b6da4c.zip |
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
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/qcommon/msg.c b/code/qcommon/msg.c index e743597..b26cf8f 100644 --- a/code/qcommon/msg.c +++ b/code/qcommon/msg.c @@ -790,7 +790,7 @@ typedef struct { } netField_t; // using the stringizing operator to save typing... -#define NETF(x) #x,(int)&((entityState_t*)0)->x +#define NETF(x) #x,(size_t)&((entityState_t*)0)->x netField_t entityStateFields[] = { @@ -1105,7 +1105,7 @@ plyer_state_t communication */ // using the stringizing operator to save typing... -#define PSF(x) #x,(int)&((playerState_t*)0)->x +#define PSF(x) #x,(size_t)&((playerState_t*)0)->x netField_t playerStateFields[] = { |