Skip to content

Commit

Permalink
Fix another Windows build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbruening committed Dec 13, 2023
1 parent 070e1b1 commit b4e0bc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/drcachesim/scheduler/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@ scheduler_tmpl_t<RecordType, ReaderType>::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;
Expand Down Expand Up @@ -2162,7 +2162,7 @@ scheduler_tmpl_t<RecordType, ReaderType>::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];
Expand Down

0 comments on commit b4e0bc6

Please sign in to comment.