Commit 8fbc31d5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix compilation of Win32 global hotkeys

parent e8b65bdc
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment