diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-21 19:02:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 19:02:50 +0800 |
commit | ebfb6399d957f893fd3943cd1f495dbc83a44d47 (patch) | |
tree | 73efa99460a9ca2fd80f5ff650cb0cc04c387611 /src/nvim/api/vim.c | |
parent | 3e41121e860f57316673e53a442e12cdd5755f15 (diff) | |
parent | 4d654472e65ed28b7cd9e66c91d98b9991452266 (diff) | |
download | rneovim-ebfb6399d957f893fd3943cd1f495dbc83a44d47.tar.gz rneovim-ebfb6399d957f893fd3943cd1f495dbc83a44d47.tar.bz2 rneovim-ebfb6399d957f893fd3943cd1f495dbc83a44d47.zip |
Merge pull request #23239 from cryptomilk/asn-fix-warnings
Fix compiler warnings detected by gcc 13
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index c8bb22b33c..d47f47e638 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -2241,7 +2241,7 @@ Dictionary nvim_eval_statusline(String str, Dict(eval_statusline) *opts, Error * if (highlights) { Array hl_values = ARRAY_DICT_INIT; const char *grpname; - char user_group[6]; + char user_group[15]; // strlen("User") + strlen("2147483647") + NUL // If first character doesn't have a defined highlight, // add the default highlight at the beginning of the highlight list |