0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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).
This commit is contained in:
Bram Moolenaar
2019-04-26 22:33:49 +02:00
parent c8cc0ad477
commit 5431589d25
3 changed files with 5 additions and 3 deletions

View File

@@ -10014,7 +10014,7 @@ highlight_changed(void)
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;