Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #813 from ChuckRozhon/min_warning
Removed warning caused by calling std::min<int> with size_t values
  • Loading branch information
lioncash committed Aug 15, 2014
2 parents d5d5580 + 3baea48 commit 5339c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/DSP/DSPCodeUtil.cpp
Expand Up @@ -60,7 +60,7 @@ bool Compare(const std::vector<u16> &code1, const std::vector<u16> &code2)
if (code1.size() != code2.size())
printf("Size difference! 1=%i 2=%i\n", (int)code1.size(), (int)code2.size());
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;
DSPDisassembler disassembler(settings);
Expand Down

0 comments on commit 5339c52

Please sign in to comment.