commit | 5431589d25e73892fcf7ad1eaca53f742c1c9303 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 26 22:33:49 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 26 22:33:49 2019 +0200 |
tree | 1207f8bf7bd859967c9c6503b1d053a8d9f30272 | |
parent | c8cc0ad477c1921afb11080fb96c764369cf04b8 [diff] [blame] |
patch 8.1.1209: clever compiler warns for buffer being too small Problem: Clever compiler warns for buffer being too small. Solution: Make the buffer bigger (even though it's not really needed).
diff --git a/src/syntax.c b/src/syntax.c index df351a3..7545165 100644 --- a/src/syntax.c +++ b/src/syntax.c
@@ -10014,7 +10014,7 @@ char_u *end; int id; #ifdef USER_HIGHLIGHT - char_u userhl[10]; + char_u userhl[30]; // use 30 to avoid compiler warning # ifdef FEAT_STL_OPT int id_S = -1; int id_SNC = 0;