summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-06-17 21:05:51 +0200
committerGitHub <noreply@github.com>2022-06-17 21:05:51 +0200
commitdd93ae63fa482a5955cae874300648a6bf4729fb (patch)
tree4075d2473c32b1d65d7df868cf046a86e93c8a39 /modules/gdscript/gdscript_analyzer.cpp
parentd2be5416ef2f759df7b89c4a22b4d36a185feb25 (diff)
parent860e24683fd4ee627a3a950418dbd2b4cc6fe78b (diff)
downloadredot-engine-dd93ae63fa482a5955cae874300648a6bf4729fb.tar.gz
Merge pull request #61991 from bruvzg/property_shortcut
Make enum/constant binds 64-bit.
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
-rw-r--r--modules/gdscript/gdscript_analyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp
index a070d319f3..42b02ce3b9 100644
--- a/modules/gdscript/gdscript_analyzer.cpp
+++ b/modules/gdscript/gdscript_analyzer.cpp
@@ -2900,7 +2900,7 @@ void GDScriptAnalyzer::reduce_identifier_from_base(GDScriptParser::IdentifierNod
return;
}
bool valid = false;
- int int_constant = ClassDB::get_integer_constant(native, name, &valid);
+ int64_t int_constant = ClassDB::get_integer_constant(native, name, &valid);
if (valid) {
p_identifier->is_constant = true;
p_identifier->reduced_value = int_constant;