From 9451c0b1cf9d542c196433ee03efac2cbfde4d00 Mon Sep 17 00:00:00 2001 From: sephiroth99 Date: Wed, 30 Dec 2015 12:15:52 -0500 Subject: [PATCH] Fix different types in std::min arguments --- src/xenia/cpu/processor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/cpu/processor.cc b/src/xenia/cpu/processor.cc index f292ef6ce..f9304bc83 100644 --- a/src/xenia/cpu/processor.cc +++ b/src/xenia/cpu/processor.cc @@ -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(8)); ++i) { context->r[3 + i] = args[i]; }