From 3b7ac49e2672263840b5854402e7d24a7f3a8a23 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 7 Sep 2013 16:35:42 +0200 Subject: [PATCH] updated for version 7.4.023 Problem: Compiler warning on 64 bit windows. Solution: Add type cast. (Mike Williams) --- src/edit.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/edit.c b/src/edit.c index 0c6089b68..98737ece6 100644 --- 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; diff --git a/src/version.c b/src/version.c index 5b37f047d..0ad2f9366 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 23, /**/ 22, /**/ -- 2.50.1