# HG changeset patch # User Christian Brabandt # Date 1455739206 -3600 # Node ID 441298d72f3c339b98709dca25bb859df4ac3dbc # Parent ace65a22f6cfa283ae909544b68e4e40f79dd10d commit https://github.com/vim/vim/commit/a87e2c277eabf0134925c340e9dc4fe9446f3636 Author: Bram Moolenaar Date: Wed Feb 17 20:48:19 2016 +0100 patch 7.4.1345 Problem: A few more compiler warnings. (Axel Bender) Solution: Add type casts. diff --git a/src/gui_w32.c b/src/gui_w32.c --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1772,7 +1772,7 @@ gui_mch_init(void) # if !defined(_MSC_VER) || (_MSC_VER < 1400) /* Define HandleToLong for old MS and non-MS compilers if not defined. */ # ifndef HandleToLong -# define HandleToLong(h) ((long)(h)) +# define HandleToLong(h) ((long)(intptr_t)(h)) # endif # endif /* set the v:windowid variable */ diff --git a/src/gui_w48.c b/src/gui_w48.c --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -2442,7 +2442,7 @@ add_tabline_popup_menu_entry(HMENU pmenu info.fMask = MIIM_TYPE | MIIM_ID; info.wID = item_id; info.fType = MFT_STRING; - info.dwTypeData = item_text; + info.dwTypeData = (LPTSTR)item_text; info.cch = (UINT)STRLEN(item_text); InsertMenuItem(pmenu, item_id, FALSE, &info); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1345, +/**/ 1344, /**/ 1343,