--- mstools/samples/input/input.c 2018/08/09 18:20:01 1.1 +++ mstools/samples/input/input.c 2018/08/09 18:20:59 1.1.1.2 @@ -230,7 +230,7 @@ LONG APIENTRY MainWndProc( DialogBox(hInst, "AboutBox", hWnd, - (WNDPROC)lpProcAbout); + lpProcAbout); FreeProcInstance(lpProcAbout); break; @@ -242,7 +242,7 @@ LONG APIENTRY MainWndProc( /* Set the timer for five-second intervals */ - idTimer = SetTimer(hWnd, NULL, 5000, (WNDPROC)(LPVOID)NULL); + idTimer = SetTimer(hWnd, NULL, 5000, (TIMERPROC)(LPVOID)NULL); break;