commit | 922a4664fe51662a24097b8e74e5f716beef12f4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 30 16:11:43 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 30 16:11:43 2014 +0200 |
tree | 50014c90eafda31e97acc98fe6e750570f70c391 | |
parent | 498af70e066c66b66f1737b553287c1339846842 [diff] [blame] |
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)
diff --git a/src/if_python.c b/src/if_python.c index 34a75a6..c95cb5d 100644 --- a/src/if_python.c +++ b/src/if_python.c
@@ -803,6 +803,8 @@ # 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 */