From: Jelte Jansen Date: Mon, 3 Oct 2011 09:29:36 +0000 (+0000) Subject: [master] fix for solaris build failure X-Git-Tag: perftcpdns_before_epoll~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fe024cd171ecf1610419abb70e5d613b94ba5a0;p=thirdparty%2Fkea.git [master] fix for solaris build failure simply a forgotten cast, reviewed on jabber --- diff --git a/src/lib/dns/python/message_python.cc b/src/lib/dns/python/message_python.cc index 601215326b..6de092544a 100644 --- a/src/lib/dns/python/message_python.cc +++ b/src/lib/dns/python/message_python.cc @@ -160,7 +160,7 @@ PyMethodDef Message_methods[] = { "If the given message is not in RENDER mode, an " "InvalidMessageOperation is raised.\n" }, - { "from_wire", Message_fromWire, METH_VARARGS, Message_fromWire_doc }, + { "from_wire", reinterpret_cast(Message_fromWire), METH_VARARGS, Message_fromWire_doc }, { NULL, NULL, 0, NULL } };