summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-12-05 15:58:15 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-12-05 15:58:15 +0100
commit5784282ef6a8a0e58c98de43d0027f41eaecd74d (patch)
treeef89cd2ef8285de91990d53257fb9f5b6607d870
parent4bed17fc7a8acbd531de761128e77fbb861fc013 (diff)
Fix 64bit size_t in format string.
-rw-r--r--src/connectionhandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connectionhandler.cc b/src/connectionhandler.cc
index fe83861..1a4dce1 100644
--- a/src/connectionhandler.cc
+++ b/src/connectionhandler.cc
@@ -43,7 +43,7 @@ void ConnectionHandler::init(clientid_t clientid)
DEBUG(conn, "Adding client %p to connection list\n", clientid);
connlist[clientid] = std::set<taskid_t>();
- DEBUG(conn, "Connections (%d):\n", connlist.size());
+ DEBUG(conn, "Connections (%d):\n", (int)connlist.size());
ConnectionList::iterator it;
for(it = connlist.begin(); it != connlist.end(); it++) {
DEBUG(conn, "\t%p\n", it->first);
@@ -86,7 +86,7 @@ void ConnectionHandler::unobserve(clientid_t clientid, taskid_t taskid)
ObserverList ConnectionHandler::observerlist(TaskIdList tasks)
{
- DEBUG(conn, "Observerlist request (#tasks: %d)\n", tasks.size());
+ DEBUG(conn, "Observerlist request (#tasks: %d)\n", (int)tasks.size());
ObserverList clients;
for(TaskIdList::iterator i = tasks.begin(); i != tasks.end(); i++) {