Skip to content

Commit

Permalink
Fix Windows 32-bit warning
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbruening committed Mar 21, 2024
1 parent 1f488b8 commit 9f181bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/drcachesim/scheduler/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,8 @@ scheduler_tmpl_t<RecordType, ReaderType>::remove_zero_instruction_segments(
VPRINT(this, 1, "Dropping same-input=%d same-start=%" PRIu64 " entry\n",
input_idx, start);
all_sched[input_sched[input_idx][i - 1].output]
[input_sched[input_idx][i - 1].output_array_idx]
[static_cast<size_t>(
input_sched[input_idx][i - 1].output_array_idx)]
.valid = false;
input_sched[input_idx].erase(input_sched[input_idx].begin() + i - 1);
// Keep the iteration on course.
Expand Down

0 comments on commit 9f181bc

Please sign in to comment.