mirror of https://github.com/PCSX2/pcsx2.git
gsdx: use a type in sizeof
(warning) Suspicious usage of 'sizeof' with a numeric constant as parameter.
This commit is contained in:
parent
e4e68a6179
commit
9f1649ae57
|
@ -1854,7 +1854,7 @@ void GSLocalMemory::ReadTexture(const GSOffset* RESTRICT off, const GSVector4i&
|
|||
|
||||
if(!cr.rempty())
|
||||
{
|
||||
(this->*rtx)(off, cr, dst + (cr.left - r.left) * sizeof(32), dstpitch, TEXA);
|
||||
(this->*rtx)(off, cr, dst + (cr.left - r.left) * sizeof(uint32), dstpitch, TEXA);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue