From: Bernhard Übelacker bernhardu@mailbox.org
--- dlls/comdlg32/colordlg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/comdlg32/colordlg.c b/dlls/comdlg32/colordlg.c index 2ee331bb9ae..041c02fd7f6 100644 --- a/dlls/comdlg32/colordlg.c +++ b/dlls/comdlg32/colordlg.c @@ -848,7 +848,8 @@ static BOOL CC_HookCallChk( const CHOOSECOLORW *lpcc ) static LRESULT CC_WMInitDialog( HWND hDlg, WPARAM wParam, LPARAM lParam ) { CHOOSECOLORW *cc = (CHOOSECOLORW*)lParam; - int i, res; + int i; + LRESULT res; int r, g, b; HWND hwnd; RECT rect; @@ -1198,7 +1199,7 @@ static INT_PTR CALLBACK ColorDlgProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam ) {
- int res; + INT_PTR res; CCPRIV *lpp = GetPropW( hDlg, L"colourdialogprop" );
if (message != WM_INITDIALOG)