From: Tim Peters Date: Thu, 22 May 2003 18:45:47 +0000 (+0000) Subject: Squash new compiler wng (mistmatching formal/actual pointer types). X-Git-Tag: v2.2.3c1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ab4393526b423a582deed6707666738b3727c5f;p=thirdparty%2FPython%2Fcpython.git Squash new compiler wng (mistmatching formal/actual pointer types). --- diff --git a/Modules/newmodule.c b/Modules/newmodule.c index 673020aae92c..1b56a9fbcf85 100644 --- a/Modules/newmodule.c +++ b/Modules/newmodule.c @@ -170,5 +170,5 @@ initnew(void) m = Py_InitModule4("new", new_methods, new_doc, (PyObject *)NULL, PYTHON_API_VERSION); if (m) - PyModule_AddObject(m, "function", &PyFunction_Type); + PyModule_AddObject(m, "function", (PyObject *)&PyFunction_Type); }