diff src/gui_w48.c @ 8102:441298d72f3c v7.4.1345

commit https://github.com/vim/vim/commit/a87e2c277eabf0134925c340e9dc4fe9446f3636 Author: Bram Moolenaar <Bram@vim.org> 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.
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Feb 2016 21:00:06 +0100
parents 54cfe888c627
children 39532ee7dd43
line wrap: on
line diff
--- 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);
     }