Commit 3c80f741 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

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