diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-03-30 16:11:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-03-30 16:11:43 +0200 |
commit | 922a4664fe51662a24097b8e74e5f716beef12f4 (patch) | |
tree | 50014c90eafda31e97acc98fe6e750570f70c391 /src/if_python.c | |
parent | 498af70e066c66b66f1737b553287c1339846842 (diff) | |
download | vim-git-922a4664fe51662a24097b8e74e5f716beef12f4.tar.gz |
updated for version 7.4.228v7.4.228
Problem: Compiler warnings when building with Python 3.2.
Solution: Make type cast depend on Python version. (Ken Takata)
Diffstat (limited to 'src/if_python.c')
-rw-r--r-- | src/if_python.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/if_python.c b/src/if_python.c index 34a75a636..c95cb5d0e 100644 --- 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 */ |