From b7c3a7d181460eed95c8a4370b87afe667030640 Mon Sep 17 00:00:00 2001 From: cubicdaiya Date: Tue, 25 Mar 2014 15:02:32 +0900 Subject: Use mrb_int instead of int --- mrbgems/mruby-string-utf8/src/string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mrbgems/mruby-string-utf8/src/string.c') diff --git a/mrbgems/mruby-string-utf8/src/string.c b/mrbgems/mruby-string-utf8/src/string.c index 91183f7b8..cd41afc66 100644 --- a/mrbgems/mruby-string-utf8/src/string.c +++ b/mrbgems/mruby-string-utf8/src/string.c @@ -23,7 +23,7 @@ static mrb_int utf8len(unsigned char* p) { mrb_int len; - int i; + mrb_int i; if (*p == 0) return 1; @@ -117,7 +117,7 @@ mrb_memsearch(const void *x0, mrb_int m, const void *y0, mrb_int n) static mrb_value str_subseq(mrb_state *mrb, mrb_value str, mrb_int beg, mrb_int len) { - int i; + mrb_int i; unsigned char *p = (unsigned char*) RSTRING_PTR(str), *t; unsigned char *e = p + RSTRING_LEN(str); -- cgit v1.2.3