diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-05 14:29:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-05 14:29:06 +0200 |
commit | 9894e394b230723abefc05a1c9a336b05a63088b (patch) | |
tree | 9ccb3287014a974ae857cc0bbe31531a3b99af74 /src/term.c | |
parent | c136af29c0b1939076fbae7d36afd90dce740315 (diff) | |
download | vim-git-9894e394b230723abefc05a1c9a336b05a63088b.tar.gz |
patch 8.0.1791: using uint8_t does not work everywherev8.0.1791
Problem: Using uint8_t does not work everywhere.
Solution: Use char_u instead.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index 08eee67f5..49dee0301 100644 --- a/src/term.c +++ b/src/term.c @@ -6981,7 +6981,7 @@ static int grey_ramp[] = { # define VTERM_ANSI_INDEX_NONE 0 # endif -static uint8_t ansi_table[16][4] = { +static char_u ansi_table[16][4] = { // R G B idx { 0, 0, 0, 1}, // black {224, 0, 0, 2}, // dark red @@ -7003,7 +7003,7 @@ static uint8_t ansi_table[16][4] = { }; void -cterm_color2rgb(int nr, uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *ansi_idx) +cterm_color2rgb(int nr, char_u *r, char_u *g, char_u *b, char_u *ansi_idx) { int idx; |