From b4e0bc622e2b926597c5a3acb0a98c5c36e5f145 Mon Sep 17 00:00:00 2001 From: Derek Bruening Date: Wed, 13 Dec 2023 10:14:53 -0500 Subject: [PATCH] Fix another Windows build warning --- clients/drcachesim/scheduler/scheduler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/drcachesim/scheduler/scheduler.cpp b/clients/drcachesim/scheduler/scheduler.cpp index 59e1bac018d..96a3fd075a2 100644 --- a/clients/drcachesim/scheduler/scheduler.cpp +++ b/clients/drcachesim/scheduler/scheduler.cpp @@ -2101,7 +2101,7 @@ scheduler_tmpl_t::next_record(output_ordinal_t output, outputs_[output].wait_start_time = 0; } VPRINT(this, 5, "next_record[%d]: need new input (cur=waiting)\n", output); - sched_type_t::stream_status_t res = pick_next_input(output, 0.); + sched_type_t::stream_status_t res = pick_next_input(output, 0); if (res != sched_type_t::STATUS_OK && res != sched_type_t::STATUS_SKIPPED) return res; outputs_[output].waiting = false; @@ -2162,7 +2162,7 @@ scheduler_tmpl_t::next_record(output_ordinal_t output, lock.unlock(); VPRINT(this, 5, "next_record[%d]: need new input (cur=%d eof)\n", output, input->index); - sched_type_t::stream_status_t res = pick_next_input(output, false); + sched_type_t::stream_status_t res = pick_next_input(output, 0); if (res != sched_type_t::STATUS_OK && res != sched_type_t::STATUS_SKIPPED) return res; input = &inputs_[outputs_[output].cur_input];