summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 490944aa76..160e0f0f6a 100644
--- a/bignum.c
+++ b/bignum.c
@@ -470,7 +470,7 @@ rb_cstr_to_inum(const char *str, int base, int badcheck)
}
break;
}
- if (*str == '0') { /* squeeze preceeding 0s */
+ if (*str == '0') { /* squeeze preceding 0s */
while (*++str == '0');
if (!(c = *str) || ISSPACE(c)) --str;
}