remove "comparison is always true" warning

This commit is contained in:
Yukihiro Matsumoto
2012-05-15 18:59:25 +09:00
parent bd839684e5
commit a3a9d136aa
+1 -1
View File
@@ -83,7 +83,7 @@ typedef struct mrb_value {
#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 SYMBOL_P(o) (mrb_type(o) == MRB_TT_SYMBOL)
#define RTEST(o) mrb_test(o)