From c797ebe33b5e5ad929392be428090708df42321b Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 19 Jun 2013 21:21:10 +0000 Subject: Skype: x64 compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@5051 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_bookmarks.cpp | 4 ++-- protocols/Skype/src/skype_menus.cpp | 6 +++--- protocols/Skype/src/skype_proto.h | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'protocols/Skype/src') diff --git a/protocols/Skype/src/skype_bookmarks.cpp b/protocols/Skype/src/skype_bookmarks.cpp index e95b9c7e84..29f3cc89d4 100644 --- a/protocols/Skype/src/skype_bookmarks.cpp +++ b/protocols/Skype/src/skype_bookmarks.cpp @@ -1,7 +1,7 @@ #include "skype.h" #include "skype_chat.h" -INT_PTR CSkypeProto::SetBookmarkCommand(WPARAM wParam, LPARAM) +int CSkypeProto::SetBookmarkCommand(WPARAM wParam, LPARAM) { HANDLE hContact = (HANDLE)wParam; if (this->IsOnline() && this->IsChatRoom(hContact)) @@ -123,7 +123,7 @@ INT_PTR CALLBACK CSkypeProto::SkypeBookmarksProc(HWND hwndDlg, UINT msg, WPARAM LVITEM lvi = {0}; lvi.mask = LVIF_GROUPID | LVIF_TEXT | LVIF_IMAGE | LVIF_PARAM; - lvi.iItem = i; + lvi.iItem = (int)i; lvi.iGroupId = 1; lvi.iImage = 0; lvi.lParam = (LPARAM)conversation.fetch(); diff --git a/protocols/Skype/src/skype_menus.cpp b/protocols/Skype/src/skype_menus.cpp index 2b2aca93d1..ee227134a1 100644 --- a/protocols/Skype/src/skype_menus.cpp +++ b/protocols/Skype/src/skype_menus.cpp @@ -1,7 +1,7 @@ #include "skype.h" HANDLE CSkypeProto::hChooserMenu; -std::map CSkypeProto::contactMenuItems; +std::map CSkypeProto::contactMenuItems; INT_PTR CSkypeProto::MenuChooseService(WPARAM wParam, LPARAM lParam) { @@ -150,7 +150,7 @@ int CSkypeProto::RevokeAuth(WPARAM wParam, LPARAM lParam) return 0; } -INT_PTR CSkypeProto::IgnoreCommand(WPARAM wParam, LPARAM) +int CSkypeProto::IgnoreCommand(WPARAM wParam, LPARAM) { CContact::Ref contact; HANDLE hContact = (HANDLE)wParam; @@ -168,7 +168,7 @@ INT_PTR CSkypeProto::IgnoreCommand(WPARAM wParam, LPARAM) return 0; } -INT_PTR CSkypeProto::BlockCommand(WPARAM wParam, LPARAM) +int CSkypeProto::BlockCommand(WPARAM wParam, LPARAM) { CContact::Ref contact; HANDLE hContact = (HANDLE)wParam; diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index f60d88faa9..24df7c7e40 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -432,7 +432,7 @@ protected: // menus HGENMENU m_hMenuRoot; static HANDLE hChooserMenu; - static std::map contactMenuItems; + static std::map contactMenuItems; virtual int __cdecl RequestAuth(WPARAM, LPARAM); virtual int __cdecl GrantAuth(WPARAM, LPARAM); @@ -442,12 +442,12 @@ protected: static INT_PTR MenuChooseService(WPARAM wParam, LPARAM lParam); - INT_PTR __cdecl IgnoreCommand(WPARAM, LPARAM); - INT_PTR __cdecl BlockCommand(WPARAM, LPARAM); + int __cdecl IgnoreCommand(WPARAM, LPARAM); + int __cdecl BlockCommand(WPARAM, LPARAM); INT_PTR __cdecl InviteCommand(WPARAM, LPARAM); - INT_PTR __cdecl SetBookmarkCommand(WPARAM, LPARAM); + int __cdecl SetBookmarkCommand(WPARAM, LPARAM); INT_PTR __cdecl ShowBookmarksCommand(WPARAM, LPARAM); static int PrebuildContactMenu(WPARAM wParam, LPARAM lParam); -- cgit v1.2.3