diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-17 21:05:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 21:05:51 +0200 |
commit | dd93ae63fa482a5955cae874300648a6bf4729fb (patch) | |
tree | 4075d2473c32b1d65d7df868cf046a86e93c8a39 /modules/gdscript/gdscript_compiler.cpp | |
parent | d2be5416ef2f759df7b89c4a22b4d36a185feb25 (diff) | |
parent | 860e24683fd4ee627a3a950418dbd2b4cc6fe78b (diff) |
Merge pull request #61991 from bruvzg/property_shortcut
Make enum/constant binds 64-bit.
Diffstat (limited to 'modules/gdscript/gdscript_compiler.cpp')
-rw-r--r-- | modules/gdscript/gdscript_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_compiler.cpp b/modules/gdscript/gdscript_compiler.cpp index b2cce9d8ee..25454030b1 100644 --- a/modules/gdscript/gdscript_compiler.cpp +++ b/modules/gdscript/gdscript_compiler.cpp @@ -312,7 +312,7 @@ GDScriptCodeGenerator::Address GDScriptCompiler::_parse_expression(CodeGen &code // Class C++ integer constant. if (nc) { bool success = false; - int constant = ClassDB::get_integer_constant(nc->get_name(), identifier, &success); + int64_t constant = ClassDB::get_integer_constant(nc->get_name(), identifier, &success); if (success) { return codegen.add_constant(constant); } |