py/parsenum: Fix warning for signed/unsigned comparison.
This commit is contained in:
parent
43384ad7e7
commit
ca7af9a778
|
@ -92,7 +92,7 @@ mp_obj_t mp_parse_num_integer(const char *restrict str_, size_t len, int base, m
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (dig >= base) {
|
||||
if (dig >= (mp_uint_t)base) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue