diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-01-25 22:18:08 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-01-25 22:18:08 +0000 |
commit | 7df2d6629f7cfb05e33a1e27cd7fda943afbbba9 (patch) | |
tree | 06b43379638af7a02741262c8d236b2a43b44916 /src/if_python.c | |
parent | dad6b69c00a16f06624aeca1353a7aa53f631893 (diff) | |
download | vim-git-7df2d6629f7cfb05e33a1e27cd7fda943afbbba9.tar.gz |
updated for version 7.0044
Diffstat (limited to 'src/if_python.c')
-rw-r--r-- | src/if_python.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/if_python.c b/src/if_python.c index 511378a0d..04a8d179a 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -891,8 +891,8 @@ PythonIO_Init(void) /* Fixups... */ OutputType.ob_type = &PyType_Type; - PySys_SetObject("stdout", (PyObject *)(&Output)); - PySys_SetObject("stderr", (PyObject *)(&Error)); + PySys_SetObject("stdout", (PyObject *)(void *)&Output); + PySys_SetObject("stderr", (PyObject *)(void *)&Error); if (PyErr_Occurred()) { @@ -2190,9 +2190,9 @@ PythonMod_Init(void) VimError = Py_BuildValue("s", "vim.error"); PyDict_SetItemString(dict, "error", VimError); - PyDict_SetItemString(dict, "buffers", (PyObject *)(&TheBufferList)); - PyDict_SetItemString(dict, "current", (PyObject *)(&TheCurrent)); - PyDict_SetItemString(dict, "windows", (PyObject *)(&TheWindowList)); + PyDict_SetItemString(dict, "buffers", (PyObject *)(void *)&TheBufferList); + PyDict_SetItemString(dict, "current", (PyObject *)(void *)&TheCurrent); + PyDict_SetItemString(dict, "windows", (PyObject *)(void *)&TheWindowList); if (PyErr_Occurred()) return -1; |