diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-04-17 14:18:11 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-17 14:18:11 +0100 |
commit | a9549c9e8f368a7fa1dcbe14ec23e82c6a0b8715 (patch) | |
tree | c878f15cadd403790539f2b5cd0ba1e3cfd9b09f /src/cindent.c | |
parent | 3df8f6e353eeaf24bb5fe3769ed07c03791bb58e (diff) |
patch 8.2.4773: build failure without the +eval featurev8.2.4773
Problem: Build failure without the +eval feature.
Solution: Use other error message. Avoid warnings.
Diffstat (limited to 'src/cindent.c')
-rw-r--r-- | src/cindent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cindent.c b/src/cindent.c index 268d274aec..57add394b0 100644 --- a/src/cindent.c +++ b/src/cindent.c @@ -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); |