mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Mac fixes
This commit is contained in:
parent
c84da66758
commit
8709c92f22
4 changed files with 23 additions and 2 deletions
|
@ -1831,7 +1831,7 @@ void BfIRBuilder::Write(const BfIRTypeData& type)
|
|||
{
|
||||
auto sizedArrayType = (BfConstantSizedArrayType*)GetConstantById(type.mId);
|
||||
Write(sizedArrayType->mType);
|
||||
WriteSLEB128(sizedArrayType->mLength);
|
||||
WriteSLEB128((int64)sizedArrayType->mLength);
|
||||
}
|
||||
else if (type.mKind != BfIRTypeData::TypeKind_None)
|
||||
WriteSLEB128(type.mId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue