Commits

Anonymous committed eaf90e8

Squash new compiler wng (mistmatching formal/actual pointer types).

Comments (0)

Files changed (1)

Modules/newmodule.c

 	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);
 }