diff src/edit.c @ 5341:09361f13580b v7.4.023

updated for version 7.4.023 Problem: Compiler warning on 64 bit windows. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Sat, 07 Sep 2013 16:35:42 +0200
parents d5eb32dc231c
children 9085d32d7424
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -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;