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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user