diff options
Diffstat (limited to 'plugins/!NotAdopted/SmartAutoReplier')
-rw-r--r-- | plugins/!NotAdopted/SmartAutoReplier/SarLuaScript.cpp | 4 | ||||
-rw-r--r-- | plugins/!NotAdopted/SmartAutoReplier/wtl/atlctrls.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/!NotAdopted/SmartAutoReplier/SarLuaScript.cpp b/plugins/!NotAdopted/SmartAutoReplier/SarLuaScript.cpp index d83f82c51d..b0522406e9 100644 --- a/plugins/!NotAdopted/SmartAutoReplier/SarLuaScript.cpp +++ b/plugins/!NotAdopted/SmartAutoReplier/SarLuaScript.cpp @@ -110,7 +110,7 @@ int CSarLuaScript::SendMessage(CLuaBridge & luaBridge) int CSarLuaScript::GetMyStatus(CLuaBridge & luaBridge)
{
lua_State *pFunctionContext = (lua_State*)luaBridge;
- int nStatusMode = CallService(MS_CLIST_GETSTATUSMODE, (WPARAM)0, (LPARAM)0);
+ int nStatusMode = CallService(MS_CLIST_GETSTATUSMODE, 0, 0);
nStatusMode = g_nCurrentMode;
@@ -217,7 +217,7 @@ int CSarLuaScript::SetMyStatus(CLuaBridge & luaBridge) nNewStatus = ID_STATUS_OUTTOLUNCH;
}
- CallService(MS_CLIST_SETSTATUSMODE, (WPARAM)nNewStatus, (LPARAM)0);
+ CallService(MS_CLIST_SETSTATUSMODE, (WPARAM)nNewStatus, 0);
return FALSE;
}
diff --git a/plugins/!NotAdopted/SmartAutoReplier/wtl/atlctrls.h b/plugins/!NotAdopted/SmartAutoReplier/wtl/atlctrls.h index 00df403181..616be6aac4 100644 --- a/plugins/!NotAdopted/SmartAutoReplier/wtl/atlctrls.h +++ b/plugins/!NotAdopted/SmartAutoReplier/wtl/atlctrls.h @@ -7000,7 +7000,7 @@ public: int GetRangeLimit(BOOL bLowLimit) const
{
ATLASSERT(::IsWindow(m_hWnd));
- return (int)::SendMessage(m_hWnd, PBM_GETRANGE, bLowLimit, (LPARAM)NULL);
+ return (int)::SendMessage(m_hWnd, PBM_GETRANGE, bLowLimit, 0);
}
DWORD SetRange32(int nMin, int nMax)
|