diff options
author | Bram Moolenaar <bram@vim.org> | 2013-09-07 16:35:42 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-09-07 16:35:42 +0200 |
commit | 17b86d1152c972cf0357cae3d879ec57befe1a49 (patch) | |
tree | deac601ad1bb5e73251068a12ad63b7e8ae05b6c | |
parent | f3383a8d3160cdfbf2c4b169fb9e8924c770216e (diff) | |
download | vim-7-4-023.tar.gz |
Problem: Compiler warning on 64 bit windows.
Solution: Add type cast. (Mike Williams)
-rw-r--r-- | src/edit.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -5189,7 +5189,7 @@ ins_complete(c) mb_ptr_back(line, p); while (vim_isfilec(PTR2CHAR(p)) && p >= line) mb_ptr_back(line, p); - startcol = p - line; + startcol = (int)(p - line); compl_col += ++startcol; compl_length = (int)curs_col - startcol; diff --git a/src/version.c b/src/version.c index 5b37f047..0ad2f936 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 23, +/**/ 22, /**/ 21, |