summaryrefslogtreecommitdiffstatshomepage
path: root/py/parsenum.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/parsenum.c')
-rw-r--r--py/parsenum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parsenum.c b/py/parsenum.c
index b9801ab6a1..9f84bfc5ad 100644
--- a/py/parsenum.c
+++ b/py/parsenum.c
@@ -70,7 +70,7 @@ mp_obj_t mp_parse_num_integer(const char *restrict str_, uint len, int base) {
str += mp_parse_num_base((const char*)str, top - str, &base);
// string should be an integer number
- machine_int_t int_val = 0;
+ mp_int_t int_val = 0;
const byte *restrict str_val_start = str;
for (; str < top; str++) {
// get next digit as a value