[vlc-devel] commit: Fix compilation of Win32 global hotkeys (Jean-Baptiste Kempf )
git version control
git at videolan.org
Tue Aug 25 20:36:53 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 25 20:36:15 2009 +0200| [8fbc31d5215fd5d4bb4c4233173609d25d2c505b] | committer: Jean-Baptiste Kempf
Fix compilation of Win32 global hotkeys
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8fbc31d5215fd5d4bb4c4233173609d25d2c505b
---
modules/control/globalhotkeys/win32.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/control/globalhotkeys/win32.c b/modules/control/globalhotkeys/win32.c
index 7bb8c74..323e802 100644
--- a/modules/control/globalhotkeys/win32.c
+++ b/modules/control/globalhotkeys/win32.c
@@ -292,8 +292,8 @@ LRESULT CALLBACK WMHOTKEYPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
{
char psz_atomName[40];
- intf_thread_t *p_intf =
- (intf_thread_t*)GetWindowLongPtr( hwnd, GWLP_USERDATA );
+ LONG_PTR ret = GetWindowLongPtr( hwnd, GWLP_USERDATA );
+ intf_thread_t *p_intf = (intf_thread_t*)ret;
struct hotkey *p_hotkeys = p_intf->p_libvlc->p_hotkeys;
if( !GlobalGetAtomNameA(
More information about the vlc-devel
mailing list