changeset 3724:ac13ea2b098d v7.3.621

updated for version 7.3.621 Problem: Compiler warnings on 64 bit windows. Solution: Add type casts. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Thu, 02 Aug 2012 21:24:42 +0200
parents 3f17b871bfee
children ec49508d9540
files src/ex_docmd.c src/search.c src/version.c
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3392,7 +3392,7 @@ set_one_cmd_context(xp, buff)
     /* Find start of last argument (argument just before cursor): */
     p = buff;
     xp->xp_pattern = p;
-    len = STRLEN(buff);
+    len = (int)STRLEN(buff);
     while (*p && p < buff + len)
     {
 	if (*p == ' ' || *p == TAB)
--- a/src/search.c
+++ b/src/search.c
@@ -4621,7 +4621,8 @@ current_search(count, forward)
 	    {
 		/* searching backwards, so set pos to last line and col */
 		pos.lnum = curwin->w_buffer->b_ml.ml_line_count;
-		pos.col  = STRLEN(ml_get(curwin->w_buffer->b_ml.ml_line_count));
+		pos.col  = (colnr_T)STRLEN(
+				ml_get(curwin->w_buffer->b_ml.ml_line_count));
 	    }
 	}
 
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    621,
+/**/
     620,
 /**/
     619,