mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Invalid assert removed
This commit is contained in:
parent
f92c3d1424
commit
5c08c3716c
1 changed files with 1 additions and 2 deletions
|
@ -1020,7 +1020,6 @@ void BeCOFFObject::DbgEndSection()
|
||||||
{
|
{
|
||||||
auto& outS = mDebugSSect.mData;
|
auto& outS = mDebugSSect.mData;
|
||||||
int totalLen = outS.GetPos() - mSectionStartPos;
|
int totalLen = outS.GetPos() - mSectionStartPos;
|
||||||
BF_ASSERT(totalLen <= 0xFFFF);
|
|
||||||
*((int32*)&outS.mData[mSectionStartPos - 4]) = totalLen;
|
*((int32*)&outS.mData[mSectionStartPos - 4]) = totalLen;
|
||||||
mSectionStartPos = -1;
|
mSectionStartPos = -1;
|
||||||
while ((outS.GetPos() & 3) != 0)
|
while ((outS.GetPos() & 3) != 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue