Module: wine Branch: refs/heads/master Commit: 1006cfc8dff4677c6c96792cc30bd88e63a5ed73 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1006cfc8dff4677c6c96792c...
Author: Mike McCormack mike@codeweavers.com Date: Fri Mar 3 12:26:00 2006 +0900
hhctrl.ocx: Fix a gcc 4.1 warning caused by a cast in a macro.
---
dlls/hhctrl.ocx/help.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c index b60e83d..aa3d61f 100644 --- a/dlls/hhctrl.ocx/help.c +++ b/dlls/hhctrl.ocx/help.c @@ -492,7 +492,7 @@ static void NP_CreateTab(HINSTANCE hInst tie.mask = TCIF_TEXT; tie.pszText = tabText;
- TabCtrl_InsertItemW(hwndTabCtrl, dwIndex, &tie); + SendMessageW( hwndTabCtrl, TCM_INSERTITEMW, dwIndex, (LPARAM)&tie ); HeapFree(GetProcessHeap(), 0, tabText); }