From 8d5867276a766c5447e4d4489f4649d7fb04ab72 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 20 Sep 2018 22:12:50 +0300 Subject: fix for the proper return type of PROTO<>::RecvMsg --- protocols/Sametime/src/sametime_proto.cpp | 2 +- protocols/Sametime/src/sametime_proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Sametime') diff --git a/protocols/Sametime/src/sametime_proto.cpp b/protocols/Sametime/src/sametime_proto.cpp index f84ed684e3..fd5d5c4eb2 100644 --- a/protocols/Sametime/src/sametime_proto.cpp +++ b/protocols/Sametime/src/sametime_proto.cpp @@ -186,7 +186,7 @@ int CSametimeProto::RecvFile(MCONTACT hContact, PROTORECVFILE* pre) return CSuper::RecvFile(hContact, pre); } -int CSametimeProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre) +MEVENT CSametimeProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre) { debugLogW(L"CSametimeProto::RecvMsg() hContact=[%x]", hContact); diff --git a/protocols/Sametime/src/sametime_proto.h b/protocols/Sametime/src/sametime_proto.h index bb043f5ff9..08199a929d 100644 --- a/protocols/Sametime/src/sametime_proto.h +++ b/protocols/Sametime/src/sametime_proto.h @@ -29,7 +29,7 @@ struct CSametimeProto : public PROTO HWND CreateExtendedSearchUI(HWND owner) override; int RecvFile(MCONTACT hContact, PROTORECVFILE*) override; - int RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override; + MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override; HANDLE SendFile(MCONTACT hContact, const wchar_t* szDescription, wchar_t** ppszFiles) override; int SendMsg(MCONTACT hContact, int flags, const char* msg) override; -- cgit v1.2.3