Commit 1b3187cc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Use GetWindowLongPtr instead of GetWindowLong to be Win64 compatible and to avoid a warning :D

parent 9b25c181
......@@ -309,7 +309,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
vlc_object_t *p_this;
playlist_t *p_playlist;
p_this = (vlc_object_t *)GetWindowLong( hwnd, GWL_USERDATA );
p_this = (vlc_object_t *)GetWindowLongPtr( hwnd, GWL_USERDATA );
if( !p_this ) return 0;
......
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