Assorted warning fixes
This commit is contained in:
parent
7b3f84aae8
commit
d64f367e1d
5 changed files with 8 additions and 8 deletions
|
@ -91,7 +91,7 @@ size_t CachingFileLoader::ReadAt(s64 absolutePos, size_t bytes, void *data, Flag
|
|||
if (absolutePos >= filesize_) {
|
||||
bytes = 0;
|
||||
} else if (absolutePos + (s64)bytes >= filesize_) {
|
||||
bytes = filesize_ - absolutePos;
|
||||
bytes = (size_t)(filesize_ - absolutePos);
|
||||
}
|
||||
|
||||
size_t readSize = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue