Skip to content

Commit ceba2b6

Browse files
committedFeb 25, 2020
Expression: Fix parsing integers as 32-bit
1 parent 376a825 commit ceba2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/math/expression.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ Error Expression::_get_token(Token &r_token) {
11611161
if (is_float)
11621162
r_token.value = num.to_double();
11631163
else
1164-
r_token.value = num.to_int();
1164+
r_token.value = num.to_int64();
11651165
return OK;
11661166

11671167
} else if ((cchar >= 'A' && cchar <= 'Z') || (cchar >= 'a' && cchar <= 'z') || cchar == '_') {

0 commit comments

Comments
 (0)
Please sign in to comment.