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 Oct 25, 2024
1 parent ee4991e commit d398d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/drcachesim/tools/schedule_stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,10 @@ schedule_stats_t::aggregate_results(counters_t &total)
// If the scheduler is counting migrations, it may see more due to inputs
// not yet executed moving among runqueues.
#ifndef NDEBUG
int64_t sched_migrations = shard.second->stream->get_schedule_statistic(
double sched_migrations = shard.second->stream->get_schedule_statistic(
memtrace_stream_t::SCHED_STAT_MIGRATIONS);
#endif
assert(sched_migrations == 0 ||
assert(sched_migrations == 0. ||
sched_migrations > shard.second->counters.observed_migrations);
}
}
Expand Down

0 comments on commit d398d8b

Please sign in to comment.