From cb4b972ff1d85e8f087afa4f001f52aad4a2b8a7 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Thu, 3 May 2012 22:30:25 -0700 Subject: [PATCH] schedule: fix printf warning (size_t uses %zu) --- schedule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedule.cc b/schedule.cc index d6ec038..3769a5a 100644 --- a/schedule.cc +++ b/schedule.cc @@ -48,7 +48,7 @@ void Scheduler::print() DEBUG("Current thread: %d\n", current->get_id()); else DEBUG("No current thread\n"); - DEBUG("Num. threads in ready list: %ld\n", readyList.size()); + DEBUG("Num. threads in ready list: %zu\n", readyList.size()); std::list::iterator it; for (it = readyList.begin(); it != readyList.end(); it++) -- 2.34.1