Commit ca7af9a7 authored by Damien George's avatar Damien George
Browse files

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

parent 43384ad7
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment