diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-03 13:15:34 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-03 13:15:34 +0900 |
| commit | fad47a98a7de4d560d8641f39eba2f3b18bfc7f3 (patch) | |
| tree | 38a3809bceff4544e369712a9247f7ab74ef29bf /src | |
| parent | 3738d62a86a54524d5d7738ddbafe4700ca6a889 (diff) | |
| download | mruby-fad47a98a7de4d560d8641f39eba2f3b18bfc7f3.tar.gz mruby-fad47a98a7de4d560d8641f39eba2f3b18bfc7f3.zip | |
numeric_ext.c: use `mrb_integer` instead of `mrb_as_int`.
`mrb_as_int` implicitly converts the value into the integer, but those
methods are defined for Integer class so that the value should always be
integers.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
