From d5b7fc3bbeaabafec22f83d88240368604327d00 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 25 Dec 2020 12:07:52 -0800 Subject: [PATCH] Fixed sized array length > 32 bits --- IDEHelper/Compiler/BfModuleTypeUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDEHelper/Compiler/BfModuleTypeUtils.cpp b/IDEHelper/Compiler/BfModuleTypeUtils.cpp index cb6ca644..ecf92fa6 100644 --- a/IDEHelper/Compiler/BfModuleTypeUtils.cpp +++ b/IDEHelper/Compiler/BfModuleTypeUtils.cpp @@ -8833,7 +8833,7 @@ BfType* BfModule::ResolveTypeRef(BfTypeReference* typeRef, BfPopulateType popula if (constant->mConstType == BfConstType_Undef) elementCount = -1; // Undef marker else if (BfIRBuilder::IsInt(constant->mTypeCode)) - elementCount = constant->mInt32; + elementCount = (intptr)constant->mInt64; } } }