From ce4b1a5b8f6ef72363f7aab778408e2cd317565e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 8 Apr 2015 05:07:18 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@12669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_avatars.cpp | 4 +--- protocols/SkypeWeb/src/skype_proto.h | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'protocols') diff --git a/protocols/SkypeWeb/src/skype_avatars.cpp b/protocols/SkypeWeb/src/skype_avatars.cpp index b6b486c2ab..a62d936abf 100644 --- a/protocols/SkypeWeb/src/skype_avatars.cpp +++ b/protocols/SkypeWeb/src/skype_avatars.cpp @@ -179,7 +179,7 @@ INT_PTR CSkypeProto::SvcSetMyAvatar(WPARAM wParam, LPARAM lParam) if (read != length) { fclose(hFile); - debugLogA("CToxProto::SetToxAvatar: failed to read avatar file"); + debugLogA("CSkypeProto::SvcSetMyAvatar: failed to read avatar file"); return -1; } fclose(hFile); @@ -195,8 +195,6 @@ INT_PTR CSkypeProto::SvcSetMyAvatar(WPARAM wParam, LPARAM lParam) { DeleteFile(avatarPath); } - - //db_unset(NULL, m_szModuleName, TOX_SETTINGS_AVATAR_HASH); } return 0; diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index 7f06d05385..5c45aa1840 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -201,7 +201,7 @@ private: int OnSendMessage(MCONTACT hContact, int flags, const char *message); void OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg); - int OnPreCreateMessage(WPARAM, LPARAM lParam); + int __cdecl OnPreCreateMessage(WPARAM, LPARAM lParam); void OnGetServerHistory(const NETLIBHTTPREQUEST *response); @@ -212,7 +212,7 @@ private: //polling void ParsePollData(JSONNODE *data); - void PollingThread(void*); + void __cdecl PollingThread(void*); void ProcessEndpointPresenceRes(JSONNODE *node); void ProcessUserPresenceRes(JSONNODE *node); void ProcessNewMessageRes(JSONNODE *node); -- cgit v1.2.3