Parcourir la source

Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10

Jelte Jansen il y a 13 ans
Parent
commit
bb444bae93
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/dns/python/message_python.cc

+ 1 - 1
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<PyCFunction>(Message_fromWire), METH_VARARGS, Message_fromWire_doc },
     { NULL, NULL, 0, NULL }
 };