diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-05 15:58:15 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-05 15:58:15 +0100 |
commit | 5784282ef6a8a0e58c98de43d0027f41eaecd74d (patch) | |
tree | ef89cd2ef8285de91990d53257fb9f5b6607d870 /src | |
parent | 4bed17fc7a8acbd531de761128e77fbb861fc013 (diff) |
Fix 64bit size_t in format string.
Diffstat (limited to 'src')
-rw-r--r-- | src/connectionhandler.cc | 4 |
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++) { |