From f1ecfba94c7ceb77c071ffa906cd6d51f66f8ee3 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Tue, 12 Feb 2013 11:35:45 -0800 Subject: [PATCH] promise: use id_to_int() --- promise.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promise.cc b/promise.cc index 69197cba..e38696ea 100644 --- a/promise.cc +++ b/promise.cc @@ -59,7 +59,7 @@ bool Promise::thread_is_available(thread_id_t tid) const /** @brief Print debug info about the Promise */ void Promise::print() const { - model_print("Promised value %#" PRIx64 ", read from thread %d, available threads to resolve: ", value, read->get_tid()); + model_print("Promised value %#" PRIx64 ", read from thread %d, available threads to resolve: ", value, id_to_int(read->get_tid())); for (unsigned int i = 0; i < available_thread.size(); i++) if (available_thread[i]) model_print("[%d]", i); -- 2.34.1