From 04ea225a48f0fe836361882cb0f78e7b99ee582f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Feb 2014 12:47:23 +0000 Subject: more useless conversions removed git-svn-id: http://svn.miranda-ng.org/main/trunk@8254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoShutdown/src/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AutoShutdown') diff --git a/plugins/AutoShutdown/src/frame.cpp b/plugins/AutoShutdown/src/frame.cpp index 9c0e8ff9fd..e5626a2418 100644 --- a/plugins/AutoShutdown/src/frame.cpp +++ b/plugins/AutoShutdown/src/frame.cpp @@ -152,7 +152,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwndFrame,UINT msg,WPARAM wParam,LPARA params->hInstance, NULL); if (dat->hwndProgress==NULL) return -1; /* creation failed, calls WM_DESTROY */ - SendMessage(dat->hwndProgress,PBM_SETSTEP,(WPARAM)1,0); + SendMessage(dat->hwndProgress,PBM_SETSTEP,1,0); mir_subclassWindow(dat->hwndProgress, ProgressBarSubclassProc); dat->hwndDesc=CreateWindowEx(WS_EX_NOPARENTNOTIFY, _T("Static"), -- cgit v1.2.3