diff --git a/clients/drcachesim/tools/schedule_stats.h b/clients/drcachesim/tools/schedule_stats.h index 18bb9a082f9..cd75d82f4e9 100644 --- a/clients/drcachesim/tools/schedule_stats.h +++ b/clients/drcachesim/tools/schedule_stats.h @@ -230,7 +230,7 @@ class schedule_stats_t : public analysis_tool_t { { // Ensure {workload_id=X, tid=Y} doesn't always hash the same as // {workload_id=Y, tid=X} by avoiding a simple symmetric wid^tid. - return std::hash()(wt.workload_id ^ wt.tid) ^ + return std::hash()(static_cast(wt.workload_id ^ wt.tid)) ^ std::hash()(wt.tid); } };