From 77461e650a02581d4fab28b1549b61c718dc8232 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 14 Mar 2013 14:12:57 +0100 Subject: [PATCH] Fix invalid type in PythonLanguage::m_NativeMethodDef. --- lib/python/pythonlanguage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/pythonlanguage.cpp b/lib/python/pythonlanguage.cpp index 77a5425bf..cff9dbbca 100644 --- a/lib/python/pythonlanguage.cpp +++ b/lib/python/pythonlanguage.cpp @@ -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)