To: vim_dev@googlegroups.com Subject: Patch 7.4.2252 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2252 Problem: Compiler warnings for signed/unsigned in expression. Solution: Remove type cast. (Dominique Pelle) Files: src/vim.h *** ../vim-7.4.2251/src/vim.h 2016-08-20 15:05:35.562703140 +0200 --- src/vim.h 2016-08-22 22:42:10.686020090 +0200 *************** *** 1632,1645 **** # define GUI_FUNCTION2(f, pixel) (gui.in_use \ ? ((pixel) != INVALCOLOR \ ? gui_##f((pixel)) \ ! : (long_u)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) # define USE_24BIT gui.in_use # endif #else --- 1632,1645 ---- # define GUI_FUNCTION2(f, pixel) (gui.in_use \ ? ((pixel) != INVALCOLOR \ ? gui_##f((pixel)) \ ! : 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)) \ ! : INVALCOLOR) # define USE_24BIT gui.in_use # endif #else *** ../vim-7.4.2251/src/version.c 2016-08-24 22:33:46.470828673 +0200 --- src/version.c 2016-08-25 23:00:12.498312450 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2252, /**/ -- hundred-and-one symptoms of being an internet addict: 78. You find yourself dialing IP numbers on the phone. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///