summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_compiler.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2024-01-19 18:46:11 +0100
committerGitHub <noreply@github.com>2024-01-19 18:46:11 +0100
commit0bcc0e92b3f0ac57d4c4650722f347593a258572 (patch)
tree51a793066928731ce8da0f3b123ccf602d62281e /modules/gdscript/gdscript_compiler.cpp
parent7827c8e37010241b376748b22db85847c8614dbd (diff)
parent24fe0715b53c6e599adfea9f69716db279be9db4 (diff)
downloadredot-engine-0bcc0e92b3f0ac57d4c4650722f347593a258572.tar.gz
Merge pull request #86730 from reduz/64-bit-cowdata
Promote CowData to 64 bits
Diffstat (limited to 'modules/gdscript/gdscript_compiler.cpp')
-rw-r--r--modules/gdscript/gdscript_compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_compiler.cpp b/modules/gdscript/gdscript_compiler.cpp
index edba6340b9..13ed66710c 100644
--- a/modules/gdscript/gdscript_compiler.cpp
+++ b/modules/gdscript/gdscript_compiler.cpp
@@ -1376,7 +1376,7 @@ GDScriptCodeGenerator::Address GDScriptCompiler::_parse_expression(CodeGen &code
return GDScriptCodeGenerator::Address();
}
- codegen.script->lambda_info.insert(function, { lambda->captures.size(), lambda->use_self });
+ codegen.script->lambda_info.insert(function, { (int)lambda->captures.size(), lambda->use_self });
gen->write_lambda(result, function, captures, lambda->use_self);
for (int i = 0; i < captures.size(); i++) {