Fixed type mask usage.
This commit is contained in:
@@ -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 */
|
/* Get the left and right types, signs and qualifiers */
|
||||||
LeftType = GetUnderlyingTypeCode (lhs);
|
LeftType = (GetUnderlyingTypeCode (lhs) & T_MASK_TYPE);
|
||||||
RightType = GetUnderlyingTypeCode (rhs);
|
RightType = (GetUnderlyingTypeCode (rhs) & T_MASK_TYPE);
|
||||||
LeftSign = GetSignedness (lhs);
|
LeftSign = GetSignedness (lhs);
|
||||||
RightSign = GetSignedness (rhs);
|
RightSign = GetSignedness (rhs);
|
||||||
LeftQual = GetQualifier (lhs);
|
LeftQual = GetQualifier (lhs);
|
||||||
|
|||||||
Reference in New Issue
Block a user