Savestate: Fix Wsign-compare warning.

This commit is contained in:
lightningterror 2023-07-05 23:07:43 +02:00
parent 51aa7c8ecf
commit c78f3b4e24
1 changed files with 1 additions and 1 deletions

View File

@ -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);