From 75b1ff75c42644eb36552762652e4b0c9ff071bc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Nov 2012 14:11:01 +0000 Subject: final switch to the typed icolib api git-svn-id: http://svn.miranda-ng.org/main/trunk@2152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!NotAdopted/SmartAutoReplier/SarLuaScript.cpp | 4 ++-- plugins/!NotAdopted/SmartAutoReplier/wtl/atlctrls.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/!NotAdopted/SmartAutoReplier') 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) -- cgit v1.2.3