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 2104eb8264bdbda5d076af53be0b149c80fff46b Author: Damjan Jovanovic <dam...@apache.org> AuthorDate: Fri Jan 3 07:12:39 2025 +0200 Use the right data types for the IMediaEvent::GetEvent() call. Patch by: me --- main/avmedia/source/win/player.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/avmedia/source/win/player.cxx b/main/avmedia/source/win/player.cxx index ec860fc4d4..506f954ecc 100644 --- a/main/avmedia/source/win/player.cxx +++ b/main/avmedia/source/win/player.cxx @@ -236,7 +236,8 @@ void Player::setDDrawParams( IDirectDraw* pDDraw, IDirectDrawSurface* pDDrawSurf long Player::processEvent() { - long nCode, nParam1, nParam2; + long nCode; + LONG_PTR nParam1, nParam2; while( mpME && SUCCEEDED( mpME->GetEvent( &nCode, &nParam1, &nParam2, 0 ) ) ) {