Commit 1006cfc8 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

hhctrl.ocx: Fix a gcc 4.1 warning caused by a cast in a macro.

parent 2dfe50aa
......@@ -492,7 +492,7 @@ static void NP_CreateTab(HINSTANCE hInstance, HWND hwndTabCtrl, DWORD dwStrID, D
tie.mask = TCIF_TEXT;
tie.pszText = tabText;
TabCtrl_InsertItemW(hwndTabCtrl, dwIndex, &tie);
SendMessageW( hwndTabCtrl, TCM_INSERTITEMW, dwIndex, (LPARAM)&tie );
HeapFree(GetProcessHeap(), 0, tabText);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment