regedit: Cast to LPARAM the 4th argument passed to SendMessage.
This commit is contained in:
parent
87b15bb9fd
commit
3c80f741c2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue