diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-07-15 12:04:16 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-07-15 12:04:16 -0400 |
| commit | 0720a36c999c5c796f32fdecde389451e743e7e4 (patch) | |
| tree | a441f33af689f138b5694fa229451804748c0dcb /Source/Core/DiscIO/FileSystemGCWii.cpp | |
| parent | 79eb0f8d0c32a231361f49a300a977aa95d42e58 (diff) | |
| parent | d4a2afe345e40a4af30f8fb903ffff6413680d21 (diff) | |
Merge pull request #624 from phire/fix-334-issue
Fix another protential issue with casting.
Diffstat (limited to 'Source/Core/DiscIO/FileSystemGCWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/FileSystemGCWii.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/FileSystemGCWii.cpp b/Source/Core/DiscIO/FileSystemGCWii.cpp index ff32a4015f..afc9b12201 100644 --- a/Source/Core/DiscIO/FileSystemGCWii.cpp +++ b/Source/Core/DiscIO/FileSystemGCWii.cpp @@ -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); |
