From: Peter van Dijk Date: Wed, 26 Feb 2014 18:33:10 +0000 (+0100) Subject: fix i386 compile, thanks @zeha X-Git-Tag: rec-3.6.0-rc1~159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55f12d58ddab8b7f2201048b58622de1a5f8b086;p=thirdparty%2Fpdns.git fix i386 compile, thanks @zeha --- diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 051100fdd5..b8d22697c9 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -343,7 +343,7 @@ static void fillZone(const string& zonename, HttpResponse* resp) { object.AddMember("name", jname, doc.GetAllocator()); Value jtype(comment.qtype.getName().c_str(), doc.GetAllocator()); // copy object.AddMember("type", jtype, doc.GetAllocator()); - object.AddMember("modified_at", comment.modified_at, doc.GetAllocator()); + object.AddMember("modified_at", (unsigned int) comment.modified_at, doc.GetAllocator()); Value jaccount(comment.account.c_str(), doc.GetAllocator()); // copy object.AddMember("account", jaccount, doc.GetAllocator()); Value jcontent(comment.content.c_str(), doc.GetAllocator()); // copy