summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-05-22 18:45:47 +0000
committerTim Peters <tim.peters@gmail.com>2003-05-22 18:45:47 +0000
commit4ab4393526b423a582deed6707666738b3727c5f (patch)
tree4de11040b4f9f88ed33eef9533be9433da8514ff
parent826f68b25b8fe952c58ee71a8f954a0909218240 (diff)
downloadcpython-git-4ab4393526b423a582deed6707666738b3727c5f.tar.gz
Squash new compiler wng (mistmatching formal/actual pointer types).
-rw-r--r--Modules/newmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c
index 673020aae9..1b56a9fbcf 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);
}