--- mstools/samples/showdib/print.c 2018/08/09 18:20:01 1.1.1.1 +++ mstools/samples/showdib/print.c 2018/08/09 18:20:43 1.1.1.2 @@ -80,7 +80,7 @@ BOOL PASCAL InitPrinting(HDC hDC, HWND h lpfnPrintDlgProc = MakeProcInstance (PrintDlgProc, hInst); lpfnAbortProc = MakeProcInstance (AbortProc, hInst); #endif - hDlgPrint = CreateDialog (hInst, "PRTDLG", hWndParent, (WNDPROC)lpfnPrintDlgProc); + hDlgPrint = CreateDialog (hInst, "PRTDLG", hWndParent, lpfnPrintDlgProc); if (!hDlgPrint) return FALSE;