summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf/src/sprintf.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-03-26 01:09:17 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-03-26 01:09:17 +0900
commit79ba1ed1370a3b3fdc70185fca31ff573fc2c533 (patch)
tree3d01f7cc1465d6bf674b3afb330a290c2803d275 /mrbgems/mruby-sprintf/src/sprintf.c
parentbfd2a539edab8ef7935a75de8a6885d74ff9e8ef (diff)
parent2220fb2a91cda5c10cf453d935b7aa27b75a6544 (diff)
downloadmruby-79ba1ed1370a3b3fdc70185fca31ff573fc2c533.tar.gz
mruby-79ba1ed1370a3b3fdc70185fca31ff573fc2c533.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'mrbgems/mruby-sprintf/src/sprintf.c')
-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 4867ceb5e..bb5502b58 100644
--- a/mrbgems/mruby-sprintf/src/sprintf.c
+++ b/mrbgems/mruby-sprintf/src/sprintf.c
@@ -713,7 +713,7 @@ retry:
str = mrb_obj_as_string(mrb, arg);
len = RSTRING_LEN(str);
if (RSTRING(result)->flags & MRB_STR_EMBED) {
- int tmp_n = len;
+ mrb_int tmp_n = len;
RSTRING(result)->flags &= ~MRB_STR_EMBED_LEN_MASK;
RSTRING(result)->flags |= tmp_n << MRB_STR_EMBED_LEN_SHIFT;
} else {