From e5501691c1435de908c354363d3618cf117d9284 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 8 May 2008 23:26:36 +0300 Subject: [PATCH] Win32: kill the Win64-induced warning --- src/misc/win32_specific.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5