summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_bookmarks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_bookmarks.cpp')
-rw-r--r--protocols/Skype/src/skype_bookmarks.cpp4
1 files changed, 2 insertions, 2 deletions
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();