[vlc-devel] commit: Win32: kill the Win64-induced warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu May 8 22:25:22 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May  8 23:26:36 2008 +0300| [e5501691c1435de908c354363d3618cf117d9284]

Win32: kill the Win64-induced warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5501691c1435de908c354363d3618cf117d9284
---

 src/misc/win32_specific.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c
index eab246b..683337a 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;
 




More information about the vlc-devel mailing list