Commit a3a9d136 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

remove "comparison is always true" warning

parent bd839684
...@@ -83,7 +83,7 @@ typedef struct mrb_value { ...@@ -83,7 +83,7 @@ typedef struct mrb_value {
#include "mruby/object.h" #include "mruby/object.h"
#define IMMEDIATE_P(x) ((mrb_type(x) >= MRB_TT_FALSE) && (mrb_type(x) <= MRB_TT_FLOAT)) #define IMMEDIATE_P(x) (mrb_type(x) <= MRB_TT_FLOAT)
#define SPECIAL_CONST_P(x) IMMEDIATE_P(x) #define SPECIAL_CONST_P(x) IMMEDIATE_P(x)
#define SYMBOL_P(o) (mrb_type(o) == MRB_TT_SYMBOL) #define SYMBOL_P(o) (mrb_type(o) == MRB_TT_SYMBOL)
#define RTEST(o) mrb_test(o) #define RTEST(o) mrb_test(o)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment