diff options
Diffstat (limited to 'token.h')
-rw-r--r-- | token.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -201,7 +201,7 @@ struct token { static inline struct token *containing_token(struct token **p) { - void *addr = (char *)p - ((char *)&((struct token *)0)->next - (char *)0); + void *addr = (char *)p - offsetof(struct token, next); return addr; } |