diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-09-14 18:59:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-09-14 18:59:39 +0200 |
commit | 314ed4b21ab330e9580f4963feba8c283cb84da1 (patch) | |
tree | eab716a808269e2bdfbf46094003231271536c86 /src/if_python3.c | |
parent | 5302d9ebc1be723a25ff3dc62388305f6862749d (diff) | |
download | vim-314ed4b21ab330e9580f4963feba8c283cb84da1.zip |
updated for version 7.3.313
Problem: One more warning when compiling with dynamic Python 3.
Solution: Change PySliceObject to PyObject.
Diffstat (limited to 'src/if_python3.c')
-rw-r--r-- | src/if_python3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c index 71de389e7..18d5b7779 100644 --- a/src/if_python3.c +++ b/src/if_python3.c @@ -194,7 +194,7 @@ static void (*py3_PyGILState_Release)(PyGILState_STATE); static int (*py3_PySys_SetObject)(char *, PyObject *); static PyObject* (*py3_PyList_Append)(PyObject *, PyObject *); static Py_ssize_t (*py3_PyList_Size)(PyObject *); -static int (*py3_PySlice_GetIndicesEx)(PySliceObject *r, Py_ssize_t length, +static int (*py3_PySlice_GetIndicesEx)(PyObject *r, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength); static PyObject* (*py3_PyErr_NoMemory)(void); static void (*py3_Py_Finalize)(void); |