]> granicus.if.org Git - icinga2/commitdiff
Fix invalid type in PythonLanguage::m_NativeMethodDef.
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 14 Mar 2013 13:12:57 +0000 (14:12 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 14 Mar 2013 13:12:57 +0000 (14:12 +0100)
lib/python/pythonlanguage.cpp

index 77a5425bf861acda2cf5372de509ccac4b4d3bcd..cff9dbbca2d3c86595911e6146bc74d3c258080b 100644 (file)
@@ -27,7 +27,7 @@ REGISTER_SCRIPTLANGUAGE("Python", PythonLanguage);
 
 PyMethodDef PythonLanguage::m_NativeMethodDef[] = {
        { "RegisterFunction", &PythonLanguage::PyRegisterFunction, METH_VARARGS, NULL },
-       { NULL, NULL, NULL, NULL } /* sentinel */
+       { NULL, NULL, NULL, 0 } /* sentinel */
 };
 
 PythonLanguage::PythonLanguage(void)