Mercurial > vim
diff src/proto/term.pro @ 9939:ccb6461b82df v7.4.2243
commit https://github.com/vim/vim/commit/1b58cdd160c2e0ada0f638679a2aa27e4665fc48
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 22 23:04:33 2016 +0200
patch 7.4.2243
Problem: Warning for assigning negative value to unsigned. (Danek Duvall)
Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u
only when an unsigned is needed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 22 Aug 2016 23:15:07 +0200 |
parents | 773d627cac0b |
children | 0c091a7c588c |
line wrap: on
line diff
--- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -1,7 +1,7 @@ /* term.c */ guicolor_T termgui_mch_get_color(char_u *name); guicolor_T termgui_get_color(char_u *name); -long_u termgui_mch_get_rgb(guicolor_T color); +guicolor_T termgui_mch_get_rgb(guicolor_T color); int set_termname(char_u *term); void set_mouse_termcode(int n, char_u *s); void del_mouse_termcode(int n); @@ -25,8 +25,8 @@ void term_set_winpos(int x, int y); void term_set_winsize(int width, int height); void term_fg_color(int n); void term_bg_color(int n); -void term_fg_rgb_color(long_u rgb); -void term_bg_rgb_color(long_u rgb); +void term_fg_rgb_color(guicolor_T rgb); +void term_bg_rgb_color(guicolor_T rgb); void term_settitle(char_u *title); void ttest(int pairs); void add_long_to_buf(long_u val, char_u *dst);