diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-25 13:20:04 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-25 13:20:04 +0100 |
commit | ceba2b67614c8393a8f11f5d8a913a5d13c35836 (patch) | |
tree | 3648f4df3b581ce858c0548b97d16a7cce2050d0 /core | |
parent | 376a8255a9b65b016fcd81634bfd54fb7fa029df (diff) |
Expression: Fix parsing integers as 32-bit
Diffstat (limited to 'core')
-rw-r--r-- | core/math/expression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/expression.cpp b/core/math/expression.cpp index 1130935567..2728da616e 100644 --- a/core/math/expression.cpp +++ b/core/math/expression.cpp @@ -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 == '_') { |