From e7d0baaf3b2ba1b4512268a2a3db1c8cd169c260 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 18 Nov 2020 18:37:20 +0900 Subject: Use `mrb_int_value()` instead of `mrb_fixnum_value()`; fix #5142 --- src/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/string.c b/src/string.c index 2100f9b33..d8e06a1d3 100644 --- a/src/string.c +++ b/src/string.c @@ -2378,7 +2378,7 @@ mrb_str_len_to_inum(mrb_state *mrb, const char *str, size_t len, mrb_int base, i if (p