winecfg: Avoid unnecessary casts.
This commit is contained in:
parent
b4d5dd5efa
commit
f2ae9e4bdc
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(winecfg);
|
WINE_DEFAULT_DEBUG_CHANNEL(winecfg);
|
||||||
|
|
||||||
static void CALLBACK
|
static INT CALLBACK
|
||||||
PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
|
PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
|
||||||
{
|
{
|
||||||
switch (uMsg)
|
switch (uMsg)
|
||||||
|
@ -54,6 +54,7 @@ PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static INT_PTR CALLBACK
|
static INT_PTR CALLBACK
|
||||||
|
@ -197,8 +198,8 @@ doPropertySheet (HINSTANCE hInstance, HWND hOwner)
|
||||||
psh.u.pszIcon = NULL;
|
psh.u.pszIcon = NULL;
|
||||||
psh.pszCaption = load_string (IDS_WINECFG_TITLE);
|
psh.pszCaption = load_string (IDS_WINECFG_TITLE);
|
||||||
psh.nPages = NUM_PROPERTY_PAGES;
|
psh.nPages = NUM_PROPERTY_PAGES;
|
||||||
psh.u3.ppsp = (LPCPROPSHEETPAGEW) & psp;
|
psh.u3.ppsp = psp;
|
||||||
psh.pfnCallback = (PFNPROPSHEETCALLBACK) PropSheetCallback;
|
psh.pfnCallback = PropSheetCallback;
|
||||||
psh.u2.nStartPage = 0;
|
psh.u2.nStartPage = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue