5 Oct
2024
5 Oct
'24
5:50 p.m.
Dmitry Timoshkov (@dmitry) commented about dlls/comctl32/button.c:
InvalidateRect( hWnd, NULL, FALSE ); break;
+ case WM_GETOBJECT: + if ((LONG)lParam == OBJID_QUERYCLASSNAMEIDX)
Is the cast really justified? Does it imply that 64-bit LPARAM could contain anything in upper 32-bits? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6620#note_84113