You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pe...@apache.org on 2026/07/27 06:50:33 UTC
(openoffice) 13/20: Use the right data types for the IMediaEvent::GetEvent() call.
This is an automated email from the ASF dual-hosted git repository.
leginee pushed a commit to branch bazel-migration
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 32142588f9d88b61bb6ce0119d20e0913d9c0e7d
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Fri Jan 3 07:12:39 2025 +0200
Use the right data types for the IMediaEvent::GetEvent() call.
Patch by: me
(cherry picked from commit 5e54f17edadb956da281fbe797b043f280dae040)
---
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 ) ) )
{