mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1791: using uint8_t does not work everywhere
Problem: Using uint8_t does not work everywhere. Solution: Use char_u instead.
This commit is contained in:
@@ -7661,7 +7661,7 @@ vtp_sgr_bulks(
|
||||
ctermtoxterm(
|
||||
int cterm)
|
||||
{
|
||||
uint8_t r, g, b, idx;
|
||||
char_u r, g, b, idx;
|
||||
|
||||
cterm_color2rgb(cterm, &r, &g, &b, &idx);
|
||||
return (((int)r << 16) | ((int)g << 8) | (int)b);
|
||||
|
Reference in New Issue
Block a user