Merge pull request #624 from phire/fix-334-issue

Fix another protential issue with casting.
This commit is contained in:
Lioncash 2014-07-15 12:04:16 -04:00
commit 0720a36c99

View file

@ -104,7 +104,7 @@ bool CFileSystemGCWii::ExportFile(const std::string& _rFullPath, const std::stri
while (remainingSize)
{
// Limit read size to 128 MB
size_t readSize = std::min<size_t>(remainingSize, (u64)0x08000000);
size_t readSize = (size_t)std::min(remainingSize, (u64)0x08000000);
std::vector<u8> buffer(readSize);