Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
8101:ace65a22f6cf | 8102:441298d72f3c |
---|---|
2440 | 2440 |
2441 info.cbSize = sizeof(info); | 2441 info.cbSize = sizeof(info); |
2442 info.fMask = MIIM_TYPE | MIIM_ID; | 2442 info.fMask = MIIM_TYPE | MIIM_ID; |
2443 info.wID = item_id; | 2443 info.wID = item_id; |
2444 info.fType = MFT_STRING; | 2444 info.fType = MFT_STRING; |
2445 info.dwTypeData = item_text; | 2445 info.dwTypeData = (LPTSTR)item_text; |
2446 info.cch = (UINT)STRLEN(item_text); | 2446 info.cch = (UINT)STRLEN(item_text); |
2447 InsertMenuItem(pmenu, item_id, FALSE, &info); | 2447 InsertMenuItem(pmenu, item_id, FALSE, &info); |
2448 } | 2448 } |
2449 } | 2449 } |
2450 | 2450 |