Commit cc90540c authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

comctl32: Cast-qual warnings fix.

parent 2429d1b6
...@@ -448,7 +448,7 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp, ...@@ -448,7 +448,7 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
else else
{ {
HRSRC hResource = FindResourceA(lppsp->hInstance, HRSRC hResource = FindResourceA(lppsp->hInstance,
(LPSTR)lppsp->u.pszTemplate, (LPCSTR)lppsp->u.pszTemplate,
(LPSTR)RT_DIALOG); (LPSTR)RT_DIALOG);
HGLOBAL hTemplate = LoadResource(lppsp->hInstance, HGLOBAL hTemplate = LoadResource(lppsp->hInstance,
hResource); hResource);
...@@ -1424,7 +1424,7 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, ...@@ -1424,7 +1424,7 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
HANDLE hTemplate; HANDLE hTemplate;
hResource = FindResourceA(ppshpage->hInstance, hResource = FindResourceA(ppshpage->hInstance,
(LPSTR)ppshpage->u.pszTemplate, (LPCSTR)ppshpage->u.pszTemplate,
(LPSTR)RT_DIALOG); (LPSTR)RT_DIALOG);
if(!hResource) if(!hResource)
return FALSE; return FALSE;
......
...@@ -3301,7 +3301,7 @@ TOOLBAR_Customize (HWND hwnd) ...@@ -3301,7 +3301,7 @@ TOOLBAR_Customize (HWND hwnd)
return FALSE; return FALSE;
ret = DialogBoxIndirectParamW ((HINSTANCE)GetWindowLongPtrW(hwnd, GWLP_HINSTANCE), ret = DialogBoxIndirectParamW ((HINSTANCE)GetWindowLongPtrW(hwnd, GWLP_HINSTANCE),
(LPDLGTEMPLATEW)template, (LPCDLGTEMPLATEW)template,
hwnd, hwnd,
TOOLBAR_CustomizeDialogProc, TOOLBAR_CustomizeDialogProc,
(LPARAM)&custInfo); (LPARAM)&custInfo);
......
...@@ -1048,8 +1048,8 @@ TRACKBAR_GetNumTics (TRACKBAR_INFO *infoPtr) ...@@ -1048,8 +1048,8 @@ TRACKBAR_GetNumTics (TRACKBAR_INFO *infoPtr)
static int comp_tics(const void *ap, const void *bp) static int comp_tics(const void *ap, const void *bp)
{ {
DWORD a = *((DWORD *)ap); const DWORD a = *(const DWORD *)ap;
DWORD b = *((DWORD *)bp); const DWORD b = *(const DWORD *)bp;
TRACE("(a=%ld, b=%ld)\n", a, b); TRACE("(a=%ld, b=%ld)\n", a, b);
if (a < b) return -1; if (a < b) return -1;
......
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