diff options
| -rw-r--r-- | include/mruby/value.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h index 632bbf378..4831b55af 100644 --- a/include/mruby/value.h +++ b/include/mruby/value.h @@ -177,7 +177,7 @@ struct RCptr { #endif #ifndef mrb_immediate_p -#define mrb_immediate_p(o) (mrb_type(o) < MRB_TT_CPTR) +#define mrb_immediate_p(o) (mrb_type(o) <= MRB_TT_CPTR) #endif #ifndef mrb_integer_p #define mrb_integer_p(o) (mrb_type(o) == MRB_TT_INTEGER) |
