summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 19:30:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 19:30:22 +0000
commitd0bf6d4bd16ec8c5c677557db0c5d90d9af8e06a (patch)
tree6c29063c796ce34e88481495ed14dd1d8e8f69af /plugins/ListeningTo
parent1fb814c69fe24e3b365dbf485d1fbef4a9993c4f (diff)
64-bit compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/players/winamp_mlt/mlt_winamp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ListeningTo/players/winamp_mlt/mlt_winamp.cpp b/plugins/ListeningTo/players/winamp_mlt/mlt_winamp.cpp
index 5a38d39a19..e551fbcdea 100644
--- a/plugins/ListeningTo/players/winamp_mlt/mlt_winamp.cpp
+++ b/plugins/ListeningTo/players/winamp_mlt/mlt_winamp.cpp
@@ -442,10 +442,10 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPar
void quit()
{
if (oldMainWndProc != NULL)
- SetWindowLong(plugin.hwndParent, GWL_WNDPROC, (LONG) oldMainWndProc);
+ SetWindowLong(plugin.hwndParent, GWLP_WNDPROC, (LONG) oldMainWndProc);
if (oldWndProc != NULL)
- SetWindowLong(hPlWnd, GWL_WNDPROC, (LONG) oldWndProc);
+ SetWindowLong(hPlWnd, GWLP_WNDPROC, (LONG) oldWndProc);
if (FindWindow(MIRANDA_WINDOWCLASS, NULL) != NULL)
SendData(L"0\\0Winamp\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0");
@@ -457,10 +457,10 @@ int init()
{
KillTimer(hMsgWnd, 0);
- oldMainWndProc = (WNDPROC)SetWindowLong(plugin.hwndParent, GWL_WNDPROC, (LONG) MainWndProc);
+ oldMainWndProc = (WNDPROC)SetWindowLong(plugin.hwndParent, GWLP_WNDPROC, (LONG) MainWndProc);
hPlWnd = (HWND) SendMessage(plugin.hwndParent, WM_WA_IPC, IPC_GETWND_PE, IPC_GETWND);
- oldWndProc = (WNDPROC) SetWindowLong(hPlWnd, GWL_WNDPROC, (LONG)WndProc);
+ oldWndProc = (WNDPROC) SetWindowLong(hPlWnd, GWLP_WNDPROC, (LONG)WndProc);
return 0;
}