mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
GS/HW: Fix compiler warnings.
This commit is contained in:
1 parent
7d98461fc6
commit
b4005682f2
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user