Change size to u64

This commit is contained in:
mpm11011 2016-03-19 21:48:56 -04:00
parent 854919b5e2
commit 617a488a0a

View File

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