mirror of https://github.com/PCSX2/pcsx2.git
SaveState: Fix comparison warning
This commit is contained in:
parent
5dbaf194c5
commit
e8dbcc31aa
|
@ -315,7 +315,7 @@ memLoadingState::memLoadingState(const VmStateBuffer& load_from)
|
||||||
// Loading of state data from a memory buffer...
|
// Loading of state data from a memory buffer...
|
||||||
void memLoadingState::FreezeMem( void* data, int size )
|
void memLoadingState::FreezeMem( void* data, int size )
|
||||||
{
|
{
|
||||||
if (m_idx + size > m_memory.size())
|
if (static_cast<u32>(m_idx + size) > m_memory.size())
|
||||||
m_error = true;
|
m_error = true;
|
||||||
|
|
||||||
if (m_error)
|
if (m_error)
|
||||||
|
|
Loading…
Reference in New Issue