Parenthesize the macro argument

This commit is contained in:
Nobuyoshi Nakada 2022-01-17 01:56:04 +09:00
parent 825e2ffb9f
commit ab11cafe0b
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -86,7 +86,7 @@ typedef struct rb_subclass_entry rb_subclass_entry_t;
typedef struct rb_classext_struct rb_classext_t;
#if USE_RVARGC
# define RCLASS_EXT(c) ((rb_classext_t *)((char *)c + sizeof(struct RClass)))
# define RCLASS_EXT(c) ((rb_classext_t *)((char *)(c) + sizeof(struct RClass)))
#else
# define RCLASS_EXT(c) (RCLASS(c)->ptr)
#endif