0
0
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:
Bram Moolenaar
2018-05-05 14:29:06 +02:00
parent c136af29c0
commit 9894e394b2
4 changed files with 6 additions and 4 deletions

View File

@@ -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);