fix OFFSET_OF ptr size to quiet compiler

This commit is contained in:
Eric House 2013-11-01 19:09:05 -07:00
parent 45ad3499c5
commit b9d0469cfe

View file

@ -240,7 +240,7 @@ typedef struct _PlayerDicts {
# define DEBUG_ASSIGN(a,b)
#endif
#define OFFSET_OF(typ,var) ((XP_U16)&(((typ*) 0)->var))
#define OFFSET_OF(typ,var) ((XP_U32)&(((typ*) 0)->var))
#ifndef RELAY_NAME_DEFAULT
# define RELAY_NAME_DEFAULT "eehouse.org"