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; } } }