[vlc-devel] commit: Use GetWindowLongPtr instead of GetWindowLong to be Win64 compatible and to avoid a warning :D (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Mar 9 18:18:55 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar  9 09:17:58 2008 -0700| [1b3187cc1041d2e2d07390a4ddaade28187fcb8b]

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

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

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

diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c
index 2fc5d2d..cb7aa8f 100644
--- a/src/misc/win32_specific.c
+++ b/src/misc/win32_specific.c
@@ -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;
 




More information about the vlc-devel mailing list