diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:24:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:24:58 +0000 |
commit | a7ecea148c70da66f744a0036f985bc97804d8b4 (patch) | |
tree | 007e11deee4595280f1941a178a4dfe9a79942f7 /protocols/Twitter/src/contacts.cpp | |
parent | f0ea2e2a1708b66b4b2a7db825a0987306a5fc5d (diff) |
unified project for Twitter
git-svn-id: http://svn.miranda-ng.org/main/trunk@13181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/contacts.cpp')
-rw-r--r-- | protocols/Twitter/src/contacts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp index ffbabc4503..674516a5b3 100644 --- a/protocols/Twitter/src/contacts.cpp +++ b/protocols/Twitter/src/contacts.cpp @@ -44,7 +44,7 @@ void TwitterProto::AddToListWorker(void *p) mir_free(name);
}
-MCONTACT TwitterProto::AddToList(int flags, PROTOSEARCHRESULT *result)
+MCONTACT TwitterProto::AddToList(int, PROTOSEARCHRESULT *result)
{
if (m_iStatus != ID_STATUS_ONLINE)
return 0;
@@ -172,7 +172,7 @@ HANDLE TwitterProto::GetAwayMsg(MCONTACT hContact) return (HANDLE)1;
}
-int TwitterProto::OnContactDeleted(WPARAM hContact, LPARAM lParam)
+int TwitterProto::OnContactDeleted(WPARAM hContact, LPARAM)
{
if (m_iStatus != ID_STATUS_ONLINE)
return 0;
@@ -264,7 +264,7 @@ void TwitterProto::SetAllContactStatuses(int status) {
for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName))
if (!db_get_b(hContact, m_szModuleName, "ChatRoom", 0))
- db_set_w(hContact, m_szModuleName, "Status", status);
+ db_set_w(hContact, m_szModuleName, "Status", (WORD)status);
SetChatStatus(status);
}
|