Commit f2ae9e4b authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winecfg: Avoid unnecessary casts.

parent b4d5dd5e
......@@ -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;
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment