summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-03-02 17:54:33 +0100
committerBram Moolenaar <Bram@vim.org>2010-03-02 17:54:33 +0100
commit8b9c05fa5416bd35597a4fbe83f811d4f6d068d7 (patch)
treed138bbea8d22cd053781bc9eadb3885c9f958ce9 /src/syntax.c
parent8006d69d3c05ef92f5915984baae79ef832380e5 (diff)
downloadvim-git-8b9c05fa5416bd35597a4fbe83f811d4f6d068d7.tar.gz
updated for version 7.2.383v7.2.383
Problem: Vim doesn't build cleanly with MSVC 2010. Solution: Change a few types. (George Reilly)
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 355d41ce4..8d976ea40 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3090,7 +3090,7 @@ syn_add_start_off(result, regmatch, spp, idx, extra)
{
/* 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)
{