This is an automated email from the ASF dual-hosted git repository. damjan pushed a commit to branch windows-amd64 in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 54a25c16419ebd7470cc23652bb26f36664d599a Author: Damjan Jovanovic <dam...@apache.org> AuthorDate: Thu Jan 2 21:13:43 2025 +0200 Use GetWindowLongPtr() instead of GetWindowLong(), for Win64 compatibility. Patch by: me --- main/vcl/inc/win/wincomp.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/vcl/inc/win/wincomp.hxx b/main/vcl/inc/win/wincomp.hxx index c173a0bd82..057e10e3a8 100644 --- a/main/vcl/inc/win/wincomp.hxx +++ b/main/vcl/inc/win/wincomp.hxx @@ -176,7 +176,7 @@ inline HBRUSH GetClassBrush( HWND hWnd ) inline HINSTANCE GetWindowInstance( HWND hWnd ) { - return (HINSTANCE)GetWindowLong( hWnd, GWL_HINSTANCE ); + return (HINSTANCE)GetWindowLongPtr( hWnd, GWLP_HINSTANCE ); } // ------------------------