From 617a488a0a775b4b433fc89fc79f2ee909f60477 Mon Sep 17 00:00:00 2001 From: mpm11011 Date: Sat, 19 Mar 2016 21:48:56 -0400 Subject: [PATCH] Change size to u64 --- rpcs3/Crypto/unself.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }