diff options
| author | Michael Maltese <michaeljosephmaltese@gmail.com> | 2016-12-02 21:25:45 -0800 |
|---|---|---|
| committer | Michael Maltese <michaeljosephmaltese@gmail.com> | 2016-12-02 21:26:18 -0800 |
| commit | f798bcd5c02184cc175e674082dfaf189a08c761 (patch) | |
| tree | f4cd63c37cf75e08554a7d7fd321c84713e946c7 /Source/Core/InputCommon/ControllerInterface | |
| parent | 0e93bad73703ac895ab3327e0e7c8abad6a7e3b8 (diff) | |
DolphinQt2: InfoWidget: explicit type for std::min
Avoids errors on macOS:
```
Source/Core/DolphinQt2/Config/InfoWidget.cpp:190:21: error: no matching function for call to 'min'
u64 read_size = std::min(file_data.size(), game_size - read_offset);
^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2589:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long' vs. 'unsigned long long')
min(const _Tp& __a, const _Tp& __b)
```
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions
