summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-20 22:02:14 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-20 22:02:14 +0000
commit84fb85aaf6d4e843c0404b266400430de57559e2 (patch)
tree16a7d372f483b5689163a3ffff4f89161fc4016e /src/syntax.c
parentfd6e52886b0f7ad84056b69a935655f4cadffc71 (diff)
downloadvim-git-84fb85aaf6d4e843c0404b266400430de57559e2.tar.gz
updated for version 7.0111
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 54a50612a..9058368b6 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1700,7 +1700,7 @@ get_syntax_attr(col, can_spell)
return 0;
/* After 'synmaxcol' the attribute is always zero. */
- if (syn_buf->b_p_smc > 0 && col >= syn_buf->b_p_smc)
+ if (syn_buf->b_p_smc > 0 && col >= (colnr_T)syn_buf->b_p_smc)
{
clear_current_state();
#ifdef FEAT_EVAL