mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Another const equality fix
This commit is contained in:
parent
a713905411
commit
7788ff7ff1
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ int BfIRConstHolder::CheckConstEquality(BfIRValue lhs, BfIRValue rhs)
|
|||
|
||||
if ((constLHS->mTypeCode >= BfTypeCode_Boolean) && (constLHS->mTypeCode <= BfTypeCode_Double))
|
||||
{
|
||||
return (constLHS->mUInt64 == constRHS->mUInt16) ? 1 : 0;
|
||||
return (constLHS->mUInt64 == constRHS->mUInt64) ? 1 : 0;
|
||||
}
|
||||
|
||||
if (constLHS->mConstType == BfConstType_Array)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue