Global: Fix some type conversion warnings.

Hidden by some warning disables.
This commit is contained in:
Unknown W. Brackets
2022-01-30 16:09:33 -08:00
parent 5e185f3d87
commit 3df6cb704f
18 changed files with 41 additions and 39 deletions
+2 -2
View File
@@ -780,12 +780,12 @@ u32 DiskCachingFileLoaderCache::DetermineMaxBlocks() {
}
// This might be smaller than what's free, but if they try to launch a second game,
// they'll be happier when it can be cached too.
return freeBlocksWithFlex;
return (u32)freeBlocksWithFlex;
}
// Might be lower than LOWER_BOUND, but that's okay. That means not enough space.
// We abandon the idea of flex since there's not enough space free anyway.
return freeBlocks;
return (u32)freeBlocks;
}
u32 DiskCachingFileLoaderCache::CountCachedFiles() {