mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0891: clang warns for invalid conversion
Problem: Clang warns for invalid conversion. Solution: Use zero instead of INVALCOLOR.
This commit is contained in:
@@ -2235,7 +2235,7 @@ get_cterm_attr_idx(int attr, int fg, int bg)
|
||||
at_en.ae_attr = attr;
|
||||
at_en.ae_u.cterm.fg_color = fg;
|
||||
at_en.ae_u.cterm.bg_color = bg;
|
||||
at_en.ae_u.cterm.ul_color = INVALCOLOR;
|
||||
at_en.ae_u.cterm.ul_color = 0;
|
||||
return get_attr_entry(&cterm_attr_table, &at_en);
|
||||
}
|
||||
#endif
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
891,
|
||||
/**/
|
||||
890,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user