Skip to content

Commit

Permalink
SaveState: Fix comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastRar committed Dec 9, 2024
1 parent 5dbaf19 commit 22a68f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/SaveState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 22a68f8

Please sign in to comment.