This is an automated email from the ASF dual-hosted git repository.

leginee pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 5e54f17edadb956da281fbe797b043f280dae040
Author: Damjan Jovanovic <[email protected]>
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 8fb6657757..c6bdb121bd 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 ) 
) )
     {

Reply via email to