diff --git a/xwords4/common/comtypes.h b/xwords4/common/comtypes.h index d841696f6..66e297752 100644 --- a/xwords4/common/comtypes.h +++ b/xwords4/common/comtypes.h @@ -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"