From 59a24ed2b24167d80ea1bfb238e15b87c8f08191 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 13 Jan 2015 17:18:29 +0100 Subject: [PATCH] should really fix up osx compilation now.. --- pdns/ws-recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ws-recursor.cc b/pdns/ws-recursor.cc index cfb952f40..c6d982c6d 100644 --- a/pdns/ws-recursor.cc +++ b/pdns/ws-recursor.cc @@ -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()); } -- 2.40.0