diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index a75dbcb7105..f5c1c3f057f 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -615,7 +615,7 @@ static int PROPSHEET_CreatePage(HWND hwndParent, pTemplate, hwndParent, ppshpage->pfnDlgProc, - ppshpage); + (LPARAM)ppshpage); ppInfo[index].hwndPage = hwndPage;