--- q_a/samples/angle/angle.c 2018/08/09 18:29:19 1.1.1.1 +++ q_a/samples/angle/angle.c 2018/08/09 18:29:39 1.1.1.2 @@ -78,7 +78,7 @@ int APIENTRY WinMain(HANDLE hInstance, H /* create the top dialog as a child of the main window. */ - hwndDlg = CreateDialog (hInst, "AngleDlg", hwndMain, (WNDPROC) DlgProc); + hwndDlg = CreateDialog (hInst, "AngleDlg", hwndMain, (DLGPROC) DlgProc); /* Send main window a WM_SIZE message so that it will size the top * dialog correctly. Also, force a repaint of the main window