summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-05-17 13:57:56 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-05-17 13:59:01 +0900
commitea7f1953c3886d7597eaed21c84fdba209ee6d9b (patch)
tree4ca42ede3745524ea59eed22a7f1d38a99bdfe8d /mrbgems/mruby-sprintf/src
parent080fdbf9e8860c5151aac78081d8a731b09ad545 (diff)
downloadmruby-ea7f1953c3886d7597eaed21c84fdba209ee6d9b.tar.gz
mruby-ea7f1953c3886d7597eaed21c84fdba209ee6d9b.zip
Rename `mrb_fixnum_to_str` to `mrb_integer_to_str`.
Diffstat (limited to 'mrbgems/mruby-sprintf/src')
-rw-r--r--mrbgems/mruby-sprintf/src/sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c
index 78b4c5f65..1a3b10957 100644
--- a/mrbgems/mruby-sprintf/src/sprintf.c
+++ b/mrbgems/mruby-sprintf/src/sprintf.c
@@ -957,7 +957,7 @@ retry:
val = mrb_fix2binstr(mrb, mrb_int_value(mrb, v), base);
}
else {
- val = mrb_fixnum_to_str(mrb, mrb_int_value(mrb, v), base);
+ val = mrb_integer_to_str(mrb, mrb_int_value(mrb, v), base);
}
strncpy(++s, RSTRING_PTR(val), sizeof(nbuf)-2);
}