summaryrefslogtreecommitdiff
path: root/core/math/expression.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2020-05-13 05:31:51 -0400
committerAaron Franke <arnfranke@yahoo.com>2020-06-03 00:03:34 -0400
commitbb8aa107fd064a095479350bd22b1ce3ed146784 (patch)
treea92201554e694ece66c0877f63932b02a2432bd6 /core/math/expression.cpp
parent030a26206ff70b1050c885270afce89b0430af70 (diff)
Remove 32-bit String to_int method
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 db3bf2f830..e13ed75b8a 100644
--- a/core/math/expression.cpp
+++ b/core/math/expression.cpp
@@ -1062,7 +1062,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;