summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-print
diff options
context:
space:
mode:
authorcubicdaiya <[email protected]>2014-03-25 21:17:13 +0900
committercubicdaiya <[email protected]>2014-03-25 22:33:53 +0900
commitbf3f45fc703e0fe1dfb34ac6eae109a1eb4c4ffa (patch)
treeaaa0d65d60a0baeb26b470cf3934d9676d074b5a /mrbgems/mruby-print
parent648059575d16a21684897fab4be009e1fa757e4b (diff)
downloadmruby-bf3f45fc703e0fe1dfb34ac6eae109a1eb4c4ffa.tar.gz
mruby-bf3f45fc703e0fe1dfb34ac6eae109a1eb4c4ffa.zip
Use mrb_int instead of int
Diffstat (limited to 'mrbgems/mruby-print')
-rw-r--r--mrbgems/mruby-print/src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-print/src/print.c b/mrbgems/mruby-print/src/print.c
index e4e52624f..673ba2172 100644
--- a/mrbgems/mruby-print/src/print.c
+++ b/mrbgems/mruby-print/src/print.c
@@ -6,7 +6,7 @@ static void
printstr(mrb_state *mrb, mrb_value obj)
{
char *s;
- int len;
+ mrb_int len;
if (mrb_string_p(obj)) {
s = RSTRING_PTR(obj);