mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Parenthesize the macro argument
This commit is contained in:
parent
825e2ffb9f
commit
ab11cafe0b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue