diff src/if_python.c @ 5768:3ee5808a293c v7.4.228

updated for version 7.4.228 Problem: Compiler warnings when building with Python 3.2. Solution: Make type cast depend on Python version. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Sun, 30 Mar 2014 16:11:43 +0200
parents 136f05449f29
children 7cfbad4a78bf
line wrap: on
line diff
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -803,6 +803,8 @@ py_memsave(void *p, size_t len)
 # define PY_STRSAVE(s) ((char_u *) py_memsave(s, STRLEN(s) + 1))
 #endif
 
+typedef PySliceObject PySliceObject_T;
+
 /*
  * Include the code shared with if_python3.c
  */