0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.4773: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Use other error message.  Avoid warnings.
This commit is contained in:
Bram Moolenaar
2022-04-17 14:18:11 +01:00
parent 3df8f6e353
commit a9549c9e8f
4 changed files with 10 additions and 8 deletions

View File

@@ -420,7 +420,7 @@ cin_islabel_skip(char_u **s)
}
/*
* Recognize a "public/private/protected" scope declaration label.
* Recognize a scope declaration label from the 'cinscopedecls' option.
*/
static int
cin_isscopedecl(char_u *p)
@@ -440,7 +440,7 @@ cin_isscopedecl(char_u *p)
for (cinsd = curbuf->b_p_cinsd; *cinsd; )
{
len = copy_option_part(&cinsd, cinsd_buf, cinsd_len, ",");
len = copy_option_part(&cinsd, cinsd_buf, (int)cinsd_len, ",");
if (STRNCMP(s, cinsd_buf, len) == 0)
{
skip = cin_skipcomment(s + len);