mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Change size to u64
This commit is contained in:
parent
854919b5e2
commit
617a488a0a
1 changed files with 1 additions and 1 deletions
|
@ -1326,7 +1326,7 @@ bool CheckDebugSelf(const std::string& self, const std::string& elf)
|
||||||
|
|
||||||
// Copy the data.
|
// Copy the data.
|
||||||
char buf[2048];
|
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);
|
e.write(buf, size);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue