diff src/if_python.c @ 5612:30e300c0b2c1 v7.4.153

updated for version 7.4.153 Problem: Compiler warning for pointer type. Solution: Add type cast.
author Bram Moolenaar <bram@vim.org>
date Tue, 14 Jan 2014 19:35:56 +0100
parents ec02e1474bc2
children 136f05449f29
line wrap: on
line diff
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -343,7 +343,7 @@ static PyObject*(*dll_PySequence_Fast)(P
 static PyInt(*dll_PyTuple_Size)(PyObject *);
 static PyObject*(*dll_PyTuple_GetItem)(PyObject *, PyInt);
 static PyTypeObject* dll_PyTuple_Type;
-static int (*dll_PySlice_GetIndicesEx)(PyObject *r, PyInt length,
+static int (*dll_PySlice_GetIndicesEx)(PySliceObject *r, PyInt length,
 		     PyInt *start, PyInt *stop, PyInt *step,
 		     PyInt *slicelen);
 static PyObject*(*dll_PyImport_ImportModule)(const char *);