Commit 837374f8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MSW: kill "cast from function... to non matching type" warning

parent 1993d291
...@@ -829,7 +829,8 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message, ...@@ -829,7 +829,8 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
} }
else else
{ {
p_vout = (vout_thread_t *)GetWindowLongPtr( hwnd, GWLP_USERDATA ); LONG_PTR p_user_data = GetWindowLongPtr( hwnd, GWLP_USERDATA );
p_vout = (vout_thread_t *)p_user_data;
if( !p_vout ) if( !p_vout )
{ {
/* Hmmm mozilla does manage somehow to save the pointer to our /* Hmmm mozilla does manage somehow to save the pointer to our
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment