mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 10:40:39 +01:00
Savestate: Fix Wsign-compare warning.
This commit is contained in:
1 parent
51aa7c8ecf
commit
c78f3b4e24
1 file changed
+1
-1
+1
-1
@@ -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