mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 09:01:54 +00:00
fix gcc 4.2 warnings about cast from pointer to integer (#3317)
This commit is contained in:
parent
686d365397
commit
3992f1a59c
5 changed files with 7 additions and 7 deletions
|
@ -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[] =
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue