1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed sized array length > 32 bits

This commit is contained in:
Brian Fiete 2020-12-25 12:07:52 -08:00
parent f943c67635
commit d5b7fc3bbe

View file

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