diff --git a/rpcs3/Crypto/unself.cpp b/rpcs3/Crypto/unself.cpp index 6cb45691de..a6390c7ac5 100644 --- a/rpcs3/Crypto/unself.cpp +++ b/rpcs3/Crypto/unself.cpp @@ -1326,7 +1326,7 @@ bool CheckDebugSelf(const std::string& self, const std::string& elf) // Copy the data. char buf[2048]; - while (size_t size = s.read(buf, 2048)) // Did size need to be of type ssize_t? + while (u64 size = s.read(buf, 2048)) // read returns u64. { e.write(buf, size); }