[PATCH 10/17] dlls/riched20: use correct integral type
Huw Davies
huw at codeweavers.com
Wed Feb 2 02:03:11 CST 2022
On Tue, Feb 01, 2022 at 02:05:45PM +0100, Eric Pouech wrote:
> case EM_GETSEL:
> {
> /* Note: wParam/lParam can be NULL */
> - UINT from, to;
> - PUINT pfrom = wParam ? (PUINT)wParam : &from;
> - PUINT pto = lParam ? (PUINT)lParam : &to;
> - ME_GetSelectionOfs(editor, (int *)pfrom, (int *)pto);
> + LONG from, to;
> + PLONG pfrom = wParam ? (PLONG)wParam : &from;
> + PLONG pto = lParam ? (PLONG)lParam : &to;
Please avoid PLONG, PULONG, etc. Also, please format the commit
message correctly (no leading "dlls/" or "programs/", and a capital
letter after the ':') - take a look a what Alexandre actually commits.
I've sent in v2 of this patch and the ole32 one.
Thanks,
Huw.
More information about the wine-devel
mailing list