summaryrefslogtreecommitdiff
path: root/core/math/expression.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-01 16:01:05 +0200
committerGitHub <noreply@github.com>2020-07-01 16:01:05 +0200
commita8a2769bb6f7bc5231c06776300cbae7a9b2a4d6 (patch)
treeb5f366b586d412004ab9ce28a1c5f71695a95873 /core/math/expression.cpp
parent2abe858e1ccd202b7aee543f9846c1ccf7e51e2c (diff)
parent25c978730bd6d09091ae0f148766f6833e6e1400 (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.cpp2
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;