Use mrb_int instead of int

This commit is contained in:
cubicdaiya
2014-03-25 15:02:32 +09:00
parent 896dc002ca
commit b7c3a7d181
+2 -2
View File
@@ -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);