GS/HW: Fix compiler warnings.

This commit is contained in:
lightningterror committed 2024-01-18 16:41:05 +01:00
1 parent 7d98461fc6
commit b4005682f2
1 file changed
+1 -1
+1 -1
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);