1
0
forked from aniani/vim

patch 9.0.0080: compiler warning for size_t to int conversion

Problem:    Compiler warning for size_t to int conversion.
Solution:   Add type casts. (Mike Williams, closes #10795)
This commit is contained in:
Mike Williams
2022-07-26 16:03:42 +01:00
committed by Bram Moolenaar
parent 6809ff978a
commit 0494789ece
3 changed files with 4 additions and 2 deletions

View File

@@ -1524,7 +1524,7 @@ win_line(
if (p != NULL)
{
p_extra = p;
n_extra = STRLEN(p);
n_extra = (int)STRLEN(p);
extra_attr = used_attr;
n_attr = n_extra;
text_prop_attr = 0;