1
0
mirror of https://github.com/cc65/cc65.git synced 2025-04-06 20:37:16 +00:00

Fixed type mask usage.

This commit is contained in:
acqn 2020-07-29 19:51:47 +08:00 committed by Oliver Schmidt
parent fb9b50ff9c
commit 19c81ed866

@ -215,8 +215,8 @@ static void DoCompare (const Type* lhs, const Type* rhs, typecmp_t* Result)
}
/* Get the left and right types, signs and qualifiers */
LeftType = GetUnderlyingTypeCode (lhs);
RightType = GetUnderlyingTypeCode (rhs);
LeftType = (GetUnderlyingTypeCode (lhs) & T_MASK_TYPE);
RightType = (GetUnderlyingTypeCode (rhs) & T_MASK_TYPE);
LeftSign = GetSignedness (lhs);
RightSign = GetSignedness (rhs);
LeftQual = GetQualifier (lhs);