mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
fix a compiler error
This commit is contained in:
parent
0a55ce9f12
commit
a19a6b349b
@ -289,7 +289,7 @@ static bool is_unicode_Lo_char(uint32_t c) {
|
|||||||
PK_ASSERT(base == 10);
|
PK_ASSERT(base == 10);
|
||||||
add_token(TK("@num"), Number::stof(m[0], &size));
|
add_token(TK("@num"), Number::stof(m[0], &size));
|
||||||
} else {
|
} else {
|
||||||
add_token(TK("@num"), std::stoll(m[0], &size, base));
|
add_token(TK("@num"), (i64)std::stoll(m[0], &size, base));
|
||||||
}
|
}
|
||||||
PK_ASSERT((int)size == (int)m.length());
|
PK_ASSERT((int)size == (int)m.length());
|
||||||
}catch(...){
|
}catch(...){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user