Skip to content

Commit

Permalink
SaveState: Fix comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastRar authored and lightningterror committed Dec 10, 2024
1 parent 5dbaf19 commit e8dbcc3
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 e8dbcc3

Please sign in to comment.