mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
Removed warning caused by calling std::min<int> with size_t values
This commit is contained in:
parent
d5d5580424
commit
3baea48bba
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ bool Compare(const std::vector<u16> &code1, const std::vector<u16> &code2)
|
||||||
if (code1.size() != code2.size())
|
if (code1.size() != code2.size())
|
||||||
printf("Size difference! 1=%i 2=%i\n", (int)code1.size(), (int)code2.size());
|
printf("Size difference! 1=%i 2=%i\n", (int)code1.size(), (int)code2.size());
|
||||||
u32 count_equal = 0;
|
u32 count_equal = 0;
|
||||||
const int min_size = std::min<int>(code1.size(), code2.size());
|
const int min_size = std::min<int>((int)code1.size(), (int)code2.size());
|
||||||
|
|
||||||
AssemblerSettings settings;
|
AssemblerSettings settings;
|
||||||
DSPDisassembler disassembler(settings);
|
DSPDisassembler disassembler(settings);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue