py/parsenum: Fix warning for signed/unsigned comparison.

This commit is contained in:
Damien George 2016-12-28 12:25:00 +11:00
parent 43384ad7e7
commit ca7af9a778
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}