diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-15 21:44:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-15 21:44:45 +0200 |
commit | 00ce63dc230b6c8f55997b09396aee6d6d722734 (patch) | |
tree | d451f37d4419d18234669e71139921ac6df101df /src/proto | |
parent | 81b07b527e8b9c35d12fd45b63885d6938564723 (diff) | |
download | vim-git-00ce63dc230b6c8f55997b09396aee6d6d722734.tar.gz |
patch 8.0.1198: older compilers don't know uint8_tv8.0.1198
Problem: Older compilers don't know uint8_t.
Solution: Use char_u instead.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/term.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/term.pro b/src/proto/term.pro index 147981c68..ef74f5647 100644 --- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -64,8 +64,8 @@ char_u *get_termcode(int i); void del_termcode(char_u *name); void set_mouse_topline(win_T *wp); int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); -void term_get_fg_color(uint8_t *r, uint8_t *g, uint8_t *b); -void term_get_bg_color(uint8_t *r, uint8_t *g, uint8_t *b); +void term_get_fg_color(char_u *r, char_u *g, char_u *b); +void term_get_bg_color(char_u *r, char_u *g, char_u *b); char_u *replace_termcodes(char_u *from, char_u **bufp, int from_part, int do_lt, int special); int find_term_bykeys(char_u *src); void show_termcodes(void); |