winecfg: Avoid unnecessary casts.

This commit is contained in:
Dmitry Timoshkov 2006-06-07 16:45:47 +09:00 committed by Alexandre Julliard
parent b4d5dd5efa
commit f2ae9e4bdc
1 changed files with 4 additions and 3 deletions

View File

@ -37,7 +37,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(winecfg);
static void CALLBACK
static INT CALLBACK
PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
{
switch (uMsg)
@ -54,6 +54,7 @@ PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
default:
break;
}
return 0;
}
static INT_PTR CALLBACK
@ -197,8 +198,8 @@ doPropertySheet (HINSTANCE hInstance, HWND hOwner)
psh.u.pszIcon = NULL;
psh.pszCaption = load_string (IDS_WINECFG_TITLE);
psh.nPages = NUM_PROPERTY_PAGES;
psh.u3.ppsp = (LPCPROPSHEETPAGEW) & psp;
psh.pfnCallback = (PFNPROPSHEETCALLBACK) PropSheetCallback;
psh.u3.ppsp = psp;
psh.pfnCallback = PropSheetCallback;
psh.u2.nStartPage = 0;
/*