changeset 9957:c0cd95d2e9f9 v7.4.2252

commit https://github.com/vim/vim/commit/424d74bb20335940e938a5b4708fc0d6b73f0de3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 25 23:02:11 2016 +0200 patch 7.4.2252 Problem: Compiler warnings for signed/unsigned in expression. Solution: Remove type cast. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Thu, 25 Aug 2016 23:15:06 +0200
parents 058fa617bb4b
children 7609ef13f0a7
files src/version.c src/vim.h
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2252,
+/**/
     2251,
 /**/
     2250,
--- a/src/vim.h
+++ b/src/vim.h
@@ -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