diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-22 23:04:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-22 23:04:33 +0200 |
commit | 1b58cdd160c2e0ada0f638679a2aa27e4665fc48 (patch) | |
tree | 5a88e5a7aec9e04bc428c6a9e468cb2fc7ae2edb /src/proto/gui_x11.pro | |
parent | 17f1347b867cbcc0ce380bf9a2466b4c31896f04 (diff) |
patch 7.4.2243v7.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.
Diffstat (limited to 'src/proto/gui_x11.pro')
-rw-r--r-- | src/proto/gui_x11.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/gui_x11.pro b/src/proto/gui_x11.pro index ccaf99fd48..1e4410e318 100644 --- a/src/proto/gui_x11.pro +++ b/src/proto/gui_x11.pro @@ -24,7 +24,7 @@ void gui_mch_free_fontset(GuiFontset fontset); GuiFontset gui_mch_get_fontset(char_u *name, int giveErrorIfMissing, int fixed_width); int fontset_height(XFontSet fs); int fontset_height2(XFontSet fs); -guicolor_T gui_mch_get_color(char_u *reqname); +guicolor_T gui_mch_get_color(char_u *name); void gui_mch_set_fg_color(guicolor_T color); void gui_mch_set_bg_color(guicolor_T color); void gui_mch_set_sp_color(guicolor_T color); @@ -58,7 +58,7 @@ int gui_mch_is_blink_off(void); void gui_mch_set_blinking(long waittime, long on, long off); void gui_mch_stop_blink(void); void gui_mch_start_blink(void); -long_u gui_mch_get_rgb(guicolor_T pixel); +guicolor_T gui_mch_get_rgb(guicolor_T pixel); void gui_x11_callbacks(Widget textArea, Widget vimForm); void gui_mch_getmouse(int *x, int *y); void gui_mch_setmouse(int x, int y); |