mirror of
https://github.com/UberGames/ioef.git
synced 2025-05-30 08:50:56 +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
|
@ -134,7 +134,7 @@ typedef struct iteminfo_s
|
|||
int number; //number of the item info
|
||||
} iteminfo_t;
|
||||
|
||||
#define ITEMINFO_OFS(x) (int)&(((iteminfo_t *)0)->x)
|
||||
#define ITEMINFO_OFS(x) (size_t)&(((iteminfo_t *)0)->x)
|
||||
|
||||
fielddef_t iteminfo_fields[] =
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue