[vlc-devel] commit: Win64 compatible modifications around set/getWindowLong ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Apr 30 19:00:15 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at altair.videolan.org> | Wed Apr 30 19:01:20 2008 +0200| [b8a4cd332953c030daa87e7481da92c98ce19bb7]
Win64 compatible modifications around set/getWindowLong
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8a4cd332953c030daa87e7481da92c98ce19bb7
---
src/misc/win32_specific.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c
index 94784b8..1f0f4c7 100644
--- a/src/misc/win32_specific.c
+++ b/src/misc/win32_specific.c
@@ -287,8 +287,8 @@ static void IPCHelperThread( vlc_object_t *p_this )
GetModuleHandle(NULL), /* handle of this program instance */
NULL ); /* sent to WM_CREATE */
- SetWindowLong( ipcwindow, GWL_WNDPROC, (LONG)WMCOPYWNDPROC );
- SetWindowLongPtr( ipcwindow, GWL_USERDATA, (LONG_PTR)p_this );
+ SetWindowLongPtr( ipcwindow, GWLP_WNDPROC, (LRESULT)WMCOPYWNDPROC );
+ SetWindowLongPtr( ipcwindow, GWLP_USERDATA, (LONG_PTR)p_this );
/* Signal the creation of the thread and events queue */
vlc_thread_ready( p_this );
@@ -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 *)GetWindowLongPtr( hwnd, GWL_USERDATA );
+ p_this = (vlc_object_t *)GetWindowLongPtr( hwnd, GWLP_USERDATA );
if( !p_this ) return 0;
More information about the vlc-devel
mailing list