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_mac.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_mac.pro')
-rw-r--r-- | src/proto/gui_mac.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/gui_mac.pro b/src/proto/gui_mac.pro index ebe13f3300..9b59f1f484 100644 --- a/src/proto/gui_mac.pro +++ b/src/proto/gui_mac.pro @@ -78,7 +78,7 @@ void gui_mch_menu_grey(vimmenu_T *menu, int grey); void gui_mch_menu_hidden(vimmenu_T *menu, int hidden); void gui_mch_draw_menubar(void); int gui_mch_get_lightness(guicolor_T pixel); -long_u gui_mch_get_rgb(guicolor_T pixel); +guicolor_T gui_mch_get_rgb(guicolor_T pixel); int gui_mch_get_mouse_x(void); int gui_mch_get_mouse_y(void); void gui_mch_setmouse(int x, int y); |