summaryrefslogtreecommitdiff
path: root/src/connectionhandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/connectionhandler.cc')
-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++) {