]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] fix for solaris build failure
authorJelte Jansen <jelte@isc.org>
Mon, 3 Oct 2011 09:29:36 +0000 (09:29 +0000)
committerJelte Jansen <jelte@isc.org>
Mon, 3 Oct 2011 09:29:36 +0000 (09:29 +0000)
simply a forgotten cast, reviewed on jabber

src/lib/dns/python/message_python.cc

index 601215326b07e2f42750bc8a36c1ad347ed0198a..6de092544a2463222db3f645af86452d1e4cdc30 100644 (file)
@@ -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<PyCFunction>(Message_fromWire), METH_VARARGS, Message_fromWire_doc },
     { NULL, NULL, 0, NULL }
 };