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

This commit is contained in:
Mike McCormack 2006-03-03 12:26:00 +09:00 committed by Alexandre Julliard
parent 2dfe50aa3f
commit 1006cfc8df
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}