diff src/search.c @ 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 0b1cb3f839c4
children f43ffd820a46
line wrap: on
line diff
--- 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));
 	    }
 	}