mirror of
https://github.com/UberGames/ioef.git
synced 2025-06-02 10:11:28 +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
|
@ -48,8 +48,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
//#define DEBUG_AI_WEAP
|
||||
|
||||
//structure field offsets
|
||||
#define WEAPON_OFS(x) (int)&(((weaponinfo_t *)0)->x)
|
||||
#define PROJECTILE_OFS(x) (int)&(((projectileinfo_t *)0)->x)
|
||||
#define WEAPON_OFS(x) (size_t)&(((weaponinfo_t *)0)->x)
|
||||
#define PROJECTILE_OFS(x) (size_t)&(((projectileinfo_t *)0)->x)
|
||||
|
||||
//weapon definition // bk001212 - static
|
||||
static fielddef_t weaponinfo_fields[] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue