]> git.sesse.net Git - vlc/commitdiff
Win32: kill the Win64-induced warning
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 8 May 2008 20:26:36 +0000 (23:26 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 8 May 2008 20:26:36 +0000 (23:26 +0300)
src/misc/win32_specific.c

index eab246b0b728472935944df8688c235e1dae45e5..683337abb5346d9cb4d45039d29fddaef4519eb1 100644 (file)
@@ -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;