diff src/syntax.c @ 2100:7d121c69f540 v7.2.383

updated for version 7.2.383 Problem: Vim doesn't build cleanly with MSVC 2010. Solution: Change a few types. (George Reilly)
author Bram Moolenaar <bram@zimbu.org>
date Tue, 02 Mar 2010 17:54:33 +0100
parents 98cc757f7e3d
children 15674e198164
line wrap: on
line diff
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3090,7 +3090,7 @@ syn_add_start_off(result, regmatch, spp,
     {
 	/* a "\n" at the end of the pattern may take us below the last line */
 	result->lnum = syn_buf->b_ml.ml_line_count;
-	col = STRLEN(ml_get_buf(syn_buf, result->lnum, FALSE));
+	col = (int)STRLEN(ml_get_buf(syn_buf, result->lnum, FALSE));
     }
     if (off != 0)
     {