Unverified Commit f2465881 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5103 from shuujii/fix-mrb_obj_id-to-Float

Fix `mrb_obj_id` to `Float`
parents 07224f8e 43863d5f
......@@ -123,7 +123,7 @@ mrb_obj_id(mrb_value obj)
return MakeID(mrb_symbol(obj));
case MRB_TT_INTEGER:
return MakeID(mrb_int_id(mrb_integer(obj)));
#ifdef MRB_NO_FLOAT
#ifndef MRB_NO_FLOAT
case MRB_TT_FLOAT:
return MakeID(mrb_float_id(mrb_float(obj)));
#endif
......
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