summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-04-20 22:31:58 +0900
committerYukihiro Matsumoto <[email protected]>2012-04-20 22:31:58 +0900
commit41bf311cd1997ad2d20d451fe627b241aed571d3 (patch)
tree7a4bbfa90e106e4be73a449aa3b897a3a0adc691 /src/numeric.c
parent5622c977f441a91a7482d5956df96e60d71d90f9 (diff)
downloadmruby-41bf311cd1997ad2d20d451fe627b241aed571d3.tar.gz
mruby-41bf311cd1997ad2d20d451fe627b241aed571d3.zip
remove dependency to SIZEOF_INT
Diffstat (limited to 'src/numeric.c')
-rw-r--r--src/numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c
index ef4588f76..b03e57ce6 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -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);
}