diff --git a/pcsx2/SaveState.cpp b/pcsx2/SaveState.cpp index a8361f91f3..3225e5aabe 100644 --- a/pcsx2/SaveState.cpp +++ b/pcsx2/SaveState.cpp @@ -1044,7 +1044,7 @@ static bool LoadInternalStructuresState(zip_t* zf, s64 index) return false; std::vector 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(buffer.size())) return false; memLoadingState state(buffer);