Module: wine Branch: master Commit: 3c80f741c2d37c471e86531da2edaf3bcfa41db2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3c80f741c2d37c471e86531da2... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Mon Mar 2 23:33:19 2009 +0100 regedit: Cast to LPARAM the 4th argument passed to SendMessage. --- programs/regedit/framewnd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index 6c8745e..d88ef0e 100644 --- a/programs/regedit/framewnd.c +++ b/programs/regedit/framewnd.c @@ -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); }