mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py/parsenum: Fix warning for signed/unsigned comparison.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user