Commit a18f22e1 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2053 from suzukaze/refactor-fix_rev

Refactor fix_rev
parents b046ded6 8496f84b
......@@ -891,8 +891,7 @@ fix_rev(mrb_state *mrb, mrb_value num)
{
mrb_int val = mrb_fixnum(num);
val = ~val;
return mrb_fixnum_value(val);
return mrb_fixnum_value(~val);
}
static mrb_value
......
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