Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #624 from phire/fix-334-issue
Fix another protential issue with casting.
  • Loading branch information
lioncash committed Jul 15, 2014
2 parents 79eb0f8 + d4a2afe commit 0720a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DiscIO/FileSystemGCWii.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 0720a36

Please sign in to comment.