GS/HW: Fix compiler warnings.

This commit is contained in:
lightningterror 2024-01-18 14:20:47 +01:00
parent 7d98461fc6
commit b4005682f2
1 changed files with 1 additions and 1 deletions

View File

@ -3512,7 +3512,7 @@ bool GSTextureCache::Move(u32 SBP, u32 SBW, u32 SPSM, int sx, int sy, u32 DBP, u
return false;
}
if (m_expected_src_bp == SBP && m_expected_dst_bp == DBP)
if (m_expected_src_bp == static_cast<int>(SBP) && m_expected_dst_bp == static_cast<int>(DBP))
{
// Get the new position so we can work out the offset.
GSVector4i rect_offset = TranslateAlignedRectByPage(m_remembered_src_bp, m_remembered_src_bp + 1, SBW, SPSM, SBP, SPSM, SBW, GSVector4i(sx, sy, sx + w, sy + h), false);