summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/m_protocols.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h
index 7bfe515eab..f1cb75c125 100644
--- a/include/m_protocols.h
+++ b/include/m_protocols.h
@@ -497,7 +497,7 @@ __forceinline INT_PTR ProtoChainSend(MCONTACT hContact, const char *szProtoServi
EXTERN_C MIR_APP_DLL(INT_PTR) Proto_ChainRecv(int iOrder, CCSDATA *ccs);
-__forceinline INT_PTR ProtoChainRecv(MCONTACT hContact, char *szService, WPARAM wParam, LPARAM lParam)
+__forceinline INT_PTR ProtoChainRecv(MCONTACT hContact, const char *szService, WPARAM wParam, LPARAM lParam)
{
CCSDATA ccs = { hContact, szService, wParam, lParam };
return Proto_ChainRecv(0, &ccs);