summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-29 11:49:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-29 11:49:06 +0900
commit27765a75025d3e13d512b52dd3755ec1e7da004f (patch)
tree9e9711bcfb2130911084ac7ab992078c8ccfc965 /bignum.c
parent3238164f9c2314577f8adc544bede132bd54ad2b (diff)
downloadruby-27765a75025d3e13d512b52dd3755ec1e7da004f.tar.gz
Fix the warning in rb_big2dbl, Bignum is no longer defined
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 841ed78665..c5592a14ae 100644
--- a/bignum.c
+++ b/bignum.c
@@ -5317,7 +5317,7 @@ rb_big2dbl(VALUE x)
double d = big2dbl(x);
if (isinf(d)) {
- rb_warning("Bignum out of Float range");
+ rb_warning("Integer out of Float range");
if (d < 0.0)
d = -HUGE_VAL;
else