diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index 3603d5ac7..79606f1af 100644 --- a/src/string.c +++ b/src/string.c @@ -2137,7 +2137,7 @@ mrb_str_len_to_inum(mrb_state *mrb, const char *str, size_t len, int base, int b } c = *p; if (badcheck && c == '\0') { - goto nullbyte; + goto bad; } c = conv_digit(c); if (c < 0 || c >= base) { |
