summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-05 14:29:06 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-05 14:29:06 +0200
commit9894e394b230723abefc05a1c9a336b05a63088b (patch)
tree9ccb3287014a974ae857cc0bbe31531a3b99af74 /src/term.c
parentc136af29c0b1939076fbae7d36afd90dce740315 (diff)
downloadvim-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.c4
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;