Merge pull request #624 from phire/fix-334-issue
Fix another protential issue with casting.
This commit is contained in:
commit
0720a36c99
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue