comparison 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
comparison
equal deleted inserted replaced
9938:5eb7fba8ec4e 9939:ccb6461b82df
1 /* term.c */ 1 /* term.c */
2 guicolor_T termgui_mch_get_color(char_u *name); 2 guicolor_T termgui_mch_get_color(char_u *name);
3 guicolor_T termgui_get_color(char_u *name); 3 guicolor_T termgui_get_color(char_u *name);
4 long_u termgui_mch_get_rgb(guicolor_T color); 4 guicolor_T termgui_mch_get_rgb(guicolor_T color);
5 int set_termname(char_u *term); 5 int set_termname(char_u *term);
6 void set_mouse_termcode(int n, char_u *s); 6 void set_mouse_termcode(int n, char_u *s);
7 void del_mouse_termcode(int n); 7 void del_mouse_termcode(int n);
8 void getlinecol(long *cp, long *rp); 8 void getlinecol(long *cp, long *rp);
9 int add_termcap_entry(char_u *name, int force); 9 int add_termcap_entry(char_u *name, int force);
23 void term_delete_lines(int line_count); 23 void term_delete_lines(int line_count);
24 void term_set_winpos(int x, int y); 24 void term_set_winpos(int x, int y);
25 void term_set_winsize(int width, int height); 25 void term_set_winsize(int width, int height);
26 void term_fg_color(int n); 26 void term_fg_color(int n);
27 void term_bg_color(int n); 27 void term_bg_color(int n);
28 void term_fg_rgb_color(long_u rgb); 28 void term_fg_rgb_color(guicolor_T rgb);
29 void term_bg_rgb_color(long_u rgb); 29 void term_bg_rgb_color(guicolor_T rgb);
30 void term_settitle(char_u *title); 30 void term_settitle(char_u *title);
31 void ttest(int pairs); 31 void ttest(int pairs);
32 void add_long_to_buf(long_u val, char_u *dst); 32 void add_long_to_buf(long_u val, char_u *dst);
33 void check_shellsize(void); 33 void check_shellsize(void);
34 void limit_screen_size(void); 34 void limit_screen_size(void);