Fix different types in std::min arguments
This commit is contained in:
parent
3f49aa3cef
commit
9451c0b1cf
|
@ -338,7 +338,7 @@ uint64_t Processor::Execute(ThreadState* thread_state, uint32_t address,
|
||||||
SCOPE_profile_cpu_f("cpu");
|
SCOPE_profile_cpu_f("cpu");
|
||||||
|
|
||||||
auto context = thread_state->context();
|
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];
|
context->r[3 + i] = args[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue