mirror of https://github.com/PCSX2/pcsx2.git
Savestate: Fix Wsign-compare warning.
This commit is contained in:
parent
51aa7c8ecf
commit
c78f3b4e24
|
@ -1044,7 +1044,7 @@ static bool LoadInternalStructuresState(zip_t* zf, s64 index)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
std::vector<u8> buffer(zst.size);
|
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;
|
return false;
|
||||||
|
|
||||||
memLoadingState state(buffer);
|
memLoadingState state(buffer);
|
||||||
|
|
Loading…
Reference in New Issue