]> granicus.if.org Git - pdns/commitdiff
should really fix up osx compilation now..
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 13 Jan 2015 16:18:29 +0000 (17:18 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 13 Jan 2015 16:18:29 +0000 (17:18 +0100)
pdns/ws-recursor.cc

index cfb952f40c5f3b7cbf59f949926122c317d951a8..c6d982c6d3af95e8380dec7b59ced64a673a90dc 100644 (file)
@@ -632,7 +632,7 @@ void RecursorWebServer::jsonstat(HttpRequest* req, HttpResponse *resp)
     if(queries.size() != totIncluded) {
       Value arr;
       arr.SetArray();
-      arr.PushBack(queries.size()-totIncluded, doc.GetAllocator());
+      arr.PushBack((unsigned int)(queries.size()-totIncluded), doc.GetAllocator());
       arr.PushBack("", doc.GetAllocator());
       entries.PushBack(arr, doc.GetAllocator());
     }