mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
Savestate: Fix Wsign-compare warning.
This commit is contained in:
@@ -1044,7 +1044,7 @@ static bool LoadInternalStructuresState(zip_t* zf, s64 index)
|
||||
return false;
|
||||
|
||||
std::vector<u8> buffer(zst.size);
|
||||
if (zip_fread(zff.get(), buffer.data(), buffer.size()) != buffer.size())
|
||||
if (zip_fread(zff.get(), buffer.data(), buffer.size()) != static_cast<zip_int64_t>(buffer.size()))
|
||||
return false;
|
||||
|
||||
memLoadingState state(buffer);
|
||||
|
||||
Reference in New Issue
Block a user