From: RĂ©mi Denis-Courmont Date: Thu, 8 May 2008 20:26:36 +0000 (+0300) Subject: Win32: kill the Win64-induced warning X-Git-Tag: 0.9.0-test0~1041 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e5501691c1435de908c354363d3618cf117d9284;p=vlc Win32: kill the Win64-induced warning --- diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c index eab246b0b7..683337abb5 100644 --- a/src/misc/win32_specific.c +++ b/src/misc/win32_specific.c @@ -309,7 +309,8 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam, vlc_object_t *p_this; playlist_t *p_playlist; - p_this = (vlc_object_t *)GetWindowLongPtr( hwnd, GWLP_USERDATA ); + p_this = (vlc_object_t *) + (uintptr_t)GetWindowLongPtr( hwnd, GWLP_USERDATA ); if( !p_this ) return 0;