mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Fix compiler warnings.
This commit is contained in:
parent
7d98461fc6
commit
b4005682f2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue