From: bert hubert Date: Tue, 13 Jan 2015 16:18:29 +0000 (+0100) Subject: should really fix up osx compilation now.. X-Git-Tag: rec-3.7.0-rc1~28^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59a24ed2b24167d80ea1bfb238e15b87c8f08191;p=pdns should really fix up osx compilation now.. --- 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()); }