commit | 3b7ac49e2672263840b5854402e7d24a7f3a8a23 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 07 16:35:42 2013 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 07 16:35:42 2013 +0200 |
tree | f781b4f8477324a022cd542ae3eb0f43eee460e3 | |
parent | 7cba6c0636191af353430c5a49b514692fa259ac [diff] [blame] |
updated for version 7.4.023 Problem: Compiler warning on 64 bit windows. Solution: Add type cast. (Mike Williams)
diff --git a/src/edit.c b/src/edit.c index 0c6089b..98737ec 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -5189,7 +5189,7 @@ 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;