Mercurial > vim
changeset 4575:626e9ccb7c48 v7.3.1035
updated for version 7.3.1035
Problem: Compiler warning on 64 bit windows.
Solution: Add type cast. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 28 May 2013 22:31:46 +0200 |
parents | 5023c29758df |
children | fe942da25c13 |
files | src/if_py_both.h src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -3547,7 +3547,7 @@ run_do(const char *cmd, void *arg UNUSED int status; PyObject *pyfunc, *pymain; - if (u_save(RangeStart - 1, RangeEnd + 1) != OK) + if (u_save((linenr_T)RangeStart - 1, (linenr_T)RangeEnd + 1) != OK) { EMSG(_("cannot save undo information")); return;