Skip to content

Commit 424d74b

Browse files
committed
patch 7.4.2252
Problem: Compiler warnings for signed/unsigned in expression. Solution: Remove type cast. (Dominique Pelle)
1 parent 015efc3 commit 424d74b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2252,
766768
/**/
767769
2251,
768770
/**/

src/vim.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,14 +1632,14 @@ typedef UINT32_TYPEDEF UINT32_T;
16321632
# define GUI_FUNCTION2(f, pixel) (gui.in_use \
16331633
? ((pixel) != INVALCOLOR \
16341634
? gui_##f((pixel)) \
1635-
: (long_u)INVALCOLOR) \
1635+
: INVALCOLOR) \
16361636
: termgui_##f((pixel)))
16371637
# define USE_24BIT (gui.in_use || p_tgc)
16381638
# else
16391639
# define GUI_FUNCTION(f) gui_##f
16401640
# define GUI_FUNCTION2(f,pixel) ((pixel) != INVALCOLOR \
16411641
? gui_##f((pixel)) \
1642-
: (long_u)INVALCOLOR)
1642+
: INVALCOLOR)
16431643
# define USE_24BIT gui.in_use
16441644
# endif
16451645
#else

0 commit comments

Comments
 (0)