Parenthesize the macro argument
This commit is contained in:
parent
825e2ffb9f
commit
ab11cafe0b
@ -86,7 +86,7 @@ typedef struct rb_subclass_entry rb_subclass_entry_t;
|
|||||||
typedef struct rb_classext_struct rb_classext_t;
|
typedef struct rb_classext_struct rb_classext_t;
|
||||||
|
|
||||||
#if USE_RVARGC
|
#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
|
#else
|
||||||
# define RCLASS_EXT(c) (RCLASS(c)->ptr)
|
# define RCLASS_EXT(c) (RCLASS(c)->ptr)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user