diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-01 16:01:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 16:01:05 +0200 |
commit | a8a2769bb6f7bc5231c06776300cbae7a9b2a4d6 (patch) | |
tree | b5f366b586d412004ab9ce28a1c5f71695a95873 /core/math/expression.cpp | |
parent | 2abe858e1ccd202b7aee543f9846c1ccf7e51e2c (diff) | |
parent | 25c978730bd6d09091ae0f148766f6833e6e1400 (diff) |
Merge pull request #38713 from aaronfranke/string-64bit
Make all String integer conversion methods be 64-bit
Diffstat (limited to 'core/math/expression.cpp')
-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 6421606ca2..13a49feb6b 100644 --- a/core/math/expression.cpp +++ b/core/math/expression.cpp @@ -1064,7 +1064,7 @@ Error Expression::_get_token(Token &r_token) { if (is_float) { r_token.value = num.to_double(); } else { - r_token.value = num.to_int64(); + r_token.value = num.to_int(); } return OK; |