mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Assorted warning fixes
This commit is contained in:
1 parent
7b3f84aae8
commit
d64f367e1d
5 files changed
+8
-8
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user