commit | a87e2c277eabf0134925c340e9dc4fe9446f3636 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Feb 17 20:48:19 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Feb 17 20:48:19 2016 +0100 |
tree | 4821c65616db05a42b2cb9c90f31c8d32cc543c0 | |
parent | 203219048fa007b5042d9b893fd647aef44722a0 [diff] [blame] |
patch 7.4.1345 Problem: A few more compiler warnings. (Axel Bender) Solution: Add type casts.
diff --git a/src/gui_w48.c b/src/gui_w48.c index 5896dcd..7c08dec 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c
@@ -2442,7 +2442,7 @@ 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); }