summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-01-24 20:40:35 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-01-24 20:40:35 +0200
commite38dd82dc73245c652dd30bf0d5ec9f3a673befc (patch)
tree3b74fc088cd7ccc89a31e777eac8010c6ac034d8 /avmedia
parentcf4f81cd71edbda8e79eb68acd79284a95d00236 (diff)
Use correct LONG_PTR for parameters to IMediaEvent::GetEvent
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/win/player.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx
index 9b7e8f7f2a..5f45b503ae 100644
--- a/avmedia/source/win/player.cxx
+++ b/avmedia/source/win/player.cxx
@@ -207,7 +207,8 @@ void Player::setDDrawParams( IDirectDraw* pDDraw, IDirectDrawSurface* pDDrawSurf
long Player::processEvent()
{
- long nCode, nParam1, nParam2;
+ long nCode;
+ LONG_PTR nParam1, nParam2;
if( mpME && SUCCEEDED( mpME->GetEvent( &nCode, &nParam1, &nParam2, 0 ) ) )
{