diff options
-rw-r--r-- | avmedia/source/win/player.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx index 4f6cd78902e9..8bf50f231d45 100644 --- a/avmedia/source/win/player.cxx +++ b/avmedia/source/win/player.cxx @@ -47,7 +47,7 @@ namespace avmedia { namespace win { LRESULT CALLBACK MediaPlayerWndProc_2( HWND hWnd,UINT nMsg, WPARAM nPar1, LPARAM nPar2 ) { - Player* pPlayer = (Player*) ::GetWindowLong( hWnd, 0 ); + Player* pPlayer = (Player*) ::GetWindowLongPtr( hWnd, 0 ); bool bProcessed = true; if( pPlayer ) @@ -273,7 +273,7 @@ void SAL_CALL Player::start( ) if ( mnFrameWnd ) { ::ShowWindow(mnFrameWnd, SW_HIDE); - ::SetWindowLong( mnFrameWnd, 0, (DWORD) this ); + ::SetWindowLongPtr( mnFrameWnd, 0, (LONG_PTR) this ); // mpVW->put_Owner( (OAHWND) mnFrameWnd ); setNotifyWnd( mnFrameWnd ); } |