mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #3526 from ksss/sprintf
sprintf: Should use mrb_int for any object
This commit is contained in:
@@ -221,7 +221,7 @@ check_name_arg(mrb_state *mrb, int posarg, const char *name, int len)
|
||||
tmp_v = GETNEXTARG(); \
|
||||
p = t; \
|
||||
} \
|
||||
num = mrb_fixnum(tmp_v); \
|
||||
num = mrb_int(mrb, tmp_v); \
|
||||
} while (0)
|
||||
|
||||
static mrb_value
|
||||
|
||||
Reference in New Issue
Block a user