1
0
forked from aniani/vim

patch 7.4.2252

Problem:    Compiler warnings for signed/unsigned in expression.
Solution:   Remove type cast. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar 2016-08-25 23:02:11 +02:00
parent 015efc32c1
commit 424d74bb20
2 changed files with 4 additions and 2 deletions

View File

@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2252,
/**/
2251,
/**/

View File

@ -1632,14 +1632,14 @@ typedef UINT32_TYPEDEF UINT32_T;
# define GUI_FUNCTION2(f, pixel) (gui.in_use \
? ((pixel) != INVALCOLOR \
? gui_##f((pixel)) \
: (long_u)INVALCOLOR) \
: INVALCOLOR) \
: termgui_##f((pixel)))
# define USE_24BIT (gui.in_use || p_tgc)
# else
# define GUI_FUNCTION(f) gui_##f
# define GUI_FUNCTION2(f,pixel) ((pixel) != INVALCOLOR \
? gui_##f((pixel)) \
: (long_u)INVALCOLOR)
: INVALCOLOR)
# define USE_24BIT gui.in_use
# endif
#else