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

Fixed reentrant field layout alignment bug

This commit is contained in:
Brian Fiete 2024-02-15 08:08:29 -05:00
parent ca1ac7fb4c
commit 6f8dbefdec

View file

@ -5639,7 +5639,7 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
}
dataFieldVec.clear();
int curSize = typeInstance->mInstSize;
int curSize = dataPos;
while (dataFieldVec.size() != dataFieldCount)
{
// Clear out completed buckets