Fix different types in std::min arguments

This commit is contained in:
sephiroth99 2015-12-30 12:15:52 -05:00
parent 3f49aa3cef
commit 9451c0b1cf
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ uint64_t Processor::Execute(ThreadState* thread_state, uint32_t address,
SCOPE_profile_cpu_f("cpu");
auto context = thread_state->context();
for (size_t i = 0; i < std::min(arg_count, 8ull); ++i) {
for (size_t i = 0; i < std::min(arg_count, static_cast<size_t>(8)); ++i) {
context->r[3 + i] = args[i];
}