--- mstools/samples/showdib/dlgopen.c 2018/08/09 18:20:01 1.1 +++ mstools/samples/showdib/dlgopen.c 2018/08/09 18:21:43 1.1.1.3 @@ -60,7 +60,6 @@ static WORD BITCOUNTMASK[] = { DLGOPEN_U 0 }; -LPSTR AnsiUpper(LPSTR); /******************************************************************************* * * * FUNCTION :DlgOpen(LPSTR szFile) * @@ -106,7 +105,7 @@ HFILE APIENTRY DlgOpenFile ( /* Show the dialog box */ lpProc = MakeProcInstance ((FARPROC)DlgfnOpen, hInstance); - fh = DialogBox (hInstance, "DlgOpenBox", hwndParent, (WNDPROC)lpProc); + fh = DialogBox (hInstance, "DlgOpenBox", hwndParent, lpProc); FreeProcInstance (lpProc); if (fh != 0){