Skip to content

Commit ca7af9a

Browse files
committed
py/parsenum: Fix warning for signed/unsigned comparison.
1 parent 43384ad commit ca7af9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/parsenum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ mp_obj_t mp_parse_num_integer(const char *restrict str_, size_t len, int base, m
9292
break;
9393
}
9494
}
95-
if (dig >= base) {
95+
if (dig >= (mp_uint_t)base) {
9696
break;
9797
}
9898

0 commit comments

Comments
 (0)