From 9b814f856c749c9bbad2ec3dc8d188bf0eec08fa Mon Sep 17 00:00:00 2001 From: prasun3 Date: Fri, 11 Aug 2023 11:28:25 +0530 Subject: [PATCH] i#6262: fixed format string Issue: #6262 --- clients/drcachesim/scheduler/scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/drcachesim/scheduler/scheduler.cpp b/clients/drcachesim/scheduler/scheduler.cpp index f3bc9bf888c..37e48472b81 100644 --- a/clients/drcachesim/scheduler/scheduler.cpp +++ b/clients/drcachesim/scheduler/scheduler.cpp @@ -811,7 +811,7 @@ scheduler_tmpl_t::read_traced_schedule() // We also need to translate the thread and cpu id values into 0-based ordinals. std::unordered_map tid2input; for (int i = 0; i < static_cast(inputs_.size()); ++i) { - VPRINT(this, 1, "tid2input: tid: %ld -> %d\n", inputs_[i].tid, i); + VPRINT(this, 1, "tid2input: tid: %" PRId64 " -> %d\n", inputs_[i].tid, i); tid2input[inputs_[i].tid] = i; } std::vector> start2stop(inputs_.size());