Fix a warning happens on MRB_INT64 enabled.

This commit is contained in:
Masaki Muranaka
2013-03-17 03:24:19 +09:00
parent 526f4bf640
commit 11ed7a6128
+1 -1
View File
@@ -2050,7 +2050,7 @@ mrb_cstr_to_inum(mrb_state *mrb, const char *str, int base, int badcheck)
char *end;
char sign = 1;
int c;
unsigned int n;
unsigned long n;
mrb_int val;
#undef ISDIGIT