Merge pull request #36529 from akien-mga/expression-int64

Expression: Fix parsing integers as 32-bit
This commit is contained in:
Rémi Verschelde 2020-02-25 14:35:52 +01:00 committed by GitHub
commit b8f0da7bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1161,7 +1161,7 @@ Error Expression::_get_token(Token &r_token) {
if (is_float)
r_token.value = num.to_double();
else
r_token.value = num.to_int();
r_token.value = num.to_int64();
return OK;
} else if ((cchar >= 'A' && cchar <= 'Z') || (cchar >= 'a' && cchar <= 'z') || cchar == '_') {