summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-03-18 07:57:21 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-03-18 07:57:21 +0900
commit17bc0a1ae457d48353de28756039695019294138 (patch)
treee2e8ecefa2f36665518b996de28b57100653ee54 /src/string.c
parent13cd0363f0803d2cf0116cc28d5749dfbad6da83 (diff)
parent59fbb16d4bf799a0594183d6c5a8c052b7427621 (diff)
downloadmruby-17bc0a1ae457d48353de28756039695019294138.tar.gz
mruby-17bc0a1ae457d48353de28756039695019294138.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index 32daaa3b5..7fefbefb5 100644
--- a/src/string.c
+++ b/src/string.c
@@ -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