summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-numeric-ext
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-08-03 12:57:56 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-08-03 13:00:11 +0900
commitb9d2b47f163e4934d180455126f1015525916fff (patch)
tree0b55c896d82a8f3b4f28960ede022e6a795e79d7 /mrbgems/mruby-numeric-ext
parent23e7cb41e5b4b023edfa2a018545b8f09069533c (diff)
downloadmruby-b9d2b47f163e4934d180455126f1015525916fff.tar.gz
mruby-b9d2b47f163e4934d180455126f1015525916fff.zip
Replace `mrb_fixnum_value()` with `mrb_int_value()`.
Use `mrb_fixnum_value()` only when you are absolutely sure that the value is within `Fixnum` range, i.e. 31 bits signed integer at least.
Diffstat (limited to 'mrbgems/mruby-numeric-ext')
0 files changed, 0 insertions, 0 deletions