[PATCH 0/1] MR4000: msvfw32: Correctly store internal pointer.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55696 Signed-off-by: Eric Pouech <epouech(a)codeweavers.com> -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4000
From: Eric Pouech <epouech(a)codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55696 Signed-off-by: Eric Pouech <epouech(a)codeweavers.com> --- dlls/msvfw32/mciwnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvfw32/mciwnd.c b/dlls/msvfw32/mciwnd.c index 9e475fdafcb..c71e4fe5567 100644 --- a/dlls/msvfw32/mciwnd.c +++ b/dlls/msvfw32/mciwnd.c @@ -257,7 +257,7 @@ static LRESULT MCIWND_Create(HWND hWnd, LPCREATESTRUCTW cs) mwi = calloc(1, sizeof(*mwi)); if (!mwi) return -1; - SetWindowLongW(hWnd, 0, (LPARAM)mwi); + SetWindowLongPtrW(hWnd, 0, (LPARAM)mwi); mwi->dwStyle = cs->style; /* There is no need to show stats if there is no caption */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4000
participants (2)
-
Eric Pouech -
eric pouech (@epo)