diff options
| author | Tim Peters <tim.peters@gmail.com> | 2003-05-22 18:45:47 +0000 |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2003-05-22 18:45:47 +0000 |
| commit | 4ab4393526b423a582deed6707666738b3727c5f (patch) | |
| tree | 4de11040b4f9f88ed33eef9533be9433da8514ff | |
| parent | 826f68b25b8fe952c58ee71a8f954a0909218240 (diff) | |
| download | cpython-git-4ab4393526b423a582deed6707666738b3727c5f.tar.gz | |
Squash new compiler wng (mistmatching formal/actual pointer types).
| -rw-r--r-- | Modules/newmodule.c | 2 |
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); } |
