1 parent 613eb25 commit b99d9eaCopy full SHA for b99d9ea
1 file changed
py/strtonum.c
@@ -60,6 +60,7 @@ long strtonum(const char *restrict s, int base) {
60
p--;
61
}
62
63
+ errno = 0;
64
found = strtol(p, &num, base);
65
if (errno) {
66
goto value_error;
0 commit comments