regedit: Cast to LPARAM the 4th argument passed to SendMessage.

This commit is contained in:
Michael Stefaniuc 2009-03-02 23:33:19 +01:00 committed by Alexandre Julliard
parent 87b15bb9fd
commit 3c80f741c2
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static void OnEnterMenuLoop(HWND hWnd)
/* Update the status bar pane sizes */
nParts = -1;
SendMessageW(hStatusBar, SB_SETPARTS, 1, (long)&nParts);
SendMessageW(hStatusBar, SB_SETPARTS, 1, (LPARAM)&nParts);
bInMenuLoop = TRUE;
SendMessageW(hStatusBar, SB_SETTEXTW, 0, (LPARAM)&empty);
}