Huw Davies (@huw) commented about programs/notepad/dialog.c:
Globals.bWrapLongLines = !Globals.bWrapLongLines; CheckMenuItem(GetMenu(Globals.hMainWnd), CMD_WRAP, MF_BYCOMMAND | (Globals.bWrapLongLines ? MF_CHECKED : MF_UNCHECKED));
- SetWindowSubclass(Globals.hEdit, (SUBCLASSPROC)EDIT_CallBackProc, 0, 0);
As mentioned last time, you should be able to remove the `(SUBCLASSPROC)` cast both here and in the other call to `SetWindowSubclass()`.