mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
SaveState: Fix comparison warning
This commit is contained in:
committed by
lightningterror
parent
5dbaf194c5
commit
e8dbcc31aa
@@ -315,7 +315,7 @@ memLoadingState::memLoadingState(const VmStateBuffer& load_from)
|
||||
// Loading of state data from a memory buffer...
|
||||
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;
|
||||
|
||||
if (m_error)
|
||||
|
||||
Reference in New Issue
Block a user