mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 18:41:31 +00:00
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…
x
Reference in New Issue
Block a user