remove dependency to SIZEOF_INT

This commit is contained in:
Yukihiro Matsumoto
2012-04-20 22:31:58 +09:00
parent 5622c977f4
commit 41bf311cd1
5 changed files with 8 additions and 63 deletions
+1 -1
View File
@@ -985,7 +985,7 @@ mrb_num2fix(mrb_state *mrb, mrb_value val)
v = mrb_num2long(mrb, val);
if (!FIXABLE(v))
mrb_raise(mrb, E_RANGE_ERROR, "integer %"PRIdVALUE " out of range of fixnum", v);
mrb_raise(mrb, E_RANGE_ERROR, "integer %ld out of range of fixnum", v);
return mrb_fixnum_value(v);
}