Eric Pouech : msvfw32: Correctly store internal pointer.
Module: wine Branch: master Commit: 19d38debc948a77173d38746ad32333fb5d24c0a URL: https://gitlab.winehq.org/wine/wine/-/commit/19d38debc948a77173d38746ad32333... Author: Eric Pouech <epouech(a)codeweavers.com> Date: Mon Oct 2 12:26:10 2023 +0200 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> --- 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 */
participants (1)
-
Alexandre Julliard