diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-22 21:06:02 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-22 21:06:02 +0000 |
commit | 3615f38b14197411ed8ae434b38d2ec00bf62768 (patch) | |
tree | c9a81be7e979ceb3f75642f306eb42b1467575fd /plugins/NewAwaySysMod/Services.cpp | |
parent | 01354af31ca46355bd4dd03288e22602f139d2fe (diff) |
NewAwaySysMod x64 compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@135 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/Services.cpp')
-rw-r--r-- | plugins/NewAwaySysMod/Services.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/NewAwaySysMod/Services.cpp b/plugins/NewAwaySysMod/Services.cpp index 41d7e8e42a..0ff78c693d 100644 --- a/plugins/NewAwaySysMod/Services.cpp +++ b/plugins/NewAwaySysMod/Services.cpp @@ -63,7 +63,7 @@ __inline void PSSetStatus(char *szProto, WORD Status, int bNoClistSetStatusMode }
-int GetStatusMsg(WPARAM wParam, LPARAM lParam) // called by GamerStatus and built-in miranda autoaway module
+INT_PTR GetStatusMsg(WPARAM wParam, LPARAM lParam) // called by GamerStatus and built-in miranda autoaway module
// wParam = (int)status, lParam = 0
// MS_AWAYMSG_GETSTATUSMSG "SRAway/GetStatusMessage"
{
@@ -86,7 +86,7 @@ int GetStatusMsg(WPARAM wParam, LPARAM lParam) // called by GamerStatus and buil }
-int SetStatusMode(WPARAM wParam, LPARAM lParam) // called by GamerStatus and StatCtrl
+INT_PTR SetStatusMode(WPARAM wParam, LPARAM lParam) // called by GamerStatus and StatCtrl
{
// wParam = int iMode
// lParam = char* szMsg, may be null - then we need to use the default message
@@ -156,13 +156,13 @@ int GetState(WPARAM wParam, LPARAM lParam, int Widechar) }
-int GetStateA(WPARAM wParam, LPARAM lParam)
+INT_PTR GetStateA(WPARAM wParam, LPARAM lParam)
{
return GetState(wParam, lParam, false);
}
-int GetStateW(WPARAM wParam, LPARAM lParam)
+INT_PTR GetStateW(WPARAM wParam, LPARAM lParam)
{
return GetState(wParam, lParam, true);
}
@@ -208,19 +208,19 @@ int SetState(WPARAM wParam, LPARAM lParam, int Widechar) }
-int SetStateA(WPARAM wParam, LPARAM lParam)
+INT_PTR SetStateA(WPARAM wParam, LPARAM lParam)
{
return SetState(wParam, lParam, false);
}
-int SetStateW(WPARAM wParam, LPARAM lParam)
+INT_PTR SetStateW(WPARAM wParam, LPARAM lParam)
{
return SetState(wParam, lParam, true);
}
-int InvokeStatusWindow(WPARAM wParam, LPARAM lParam)
+INT_PTR InvokeStatusWindow(WPARAM wParam, LPARAM lParam)
// wParam = (WPARAM)(NAS_ISWINFO*)iswi - pointer to a NAS_ISWINFO structure.
// lParam = 0
// returns HWND of the window on success, or NULL on failure.
|