diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-10 14:42:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-10 14:42:51 +0000 |
commit | 33953cc6a0fab6a91af293c6838f8a46dd7922da (patch) | |
tree | 2dbbe718ad42545bde6c9f7672387827c530550a /protocols/Yahoo/src/im.cpp | |
parent | e190a7fde521bd6af9ea485cc730f854aaf38e11 (diff) |
HCONTACT, part 3
git-svn-id: http://svn.miranda-ng.org/main/trunk@8081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/im.cpp')
-rw-r--r-- | protocols/Yahoo/src/im.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Yahoo/src/im.cpp b/protocols/Yahoo/src/im.cpp index 224c65677b..fc295a4a42 100644 --- a/protocols/Yahoo/src/im.cpp +++ b/protocols/Yahoo/src/im.cpp @@ -174,7 +174,7 @@ void __cdecl CYahooProto::im_sendackfail_longmsg(void *hContact) int __cdecl CYahooProto::SendMsg(HCONTACT hContact, int flags, const char* pszSrc)
{
if (!m_bLoggedIn) {/* don't send message if we not connected! */
- ForkThread(&CYahooProto::im_sendackfail, hContact);
+ ForkThread(&CYahooProto::im_sendackfail, (void*)hContact);
return 1;
}
@@ -187,7 +187,7 @@ int __cdecl CYahooProto::SendMsg(HCONTACT hContact, int flags, const char* pszSr msg = mir_utf8encode(pszSrc);
if (lstrlenA(msg) > 800) {
- ForkThread(&CYahooProto::im_sendackfail_longmsg, hContact);
+ ForkThread(&CYahooProto::im_sendackfail_longmsg, (void*)hContact);
return 1;
}
@@ -195,7 +195,7 @@ int __cdecl CYahooProto::SendMsg(HCONTACT hContact, int flags, const char* pszSr if (!getString(hContact, YAHOO_LOGINID, &dbv)) {
send_msg(dbv.pszVal, getWord(hContact, "yprotoid", 0), msg, 1);
- ForkThread(&CYahooProto::im_sendacksuccess, hContact);
+ ForkThread(&CYahooProto::im_sendacksuccess, (void*)hContact);
db_free(&dbv);
return 1;
@@ -232,7 +232,7 @@ INT_PTR __cdecl CYahooProto::SendNudge(WPARAM wParam, LPARAM lParam) debugLogA("[YAHOO_SENDNUDGE]");
if (!m_bLoggedIn) {/* don't send nudge if we not connected! */
- ForkThread(&CYahooProto::im_sendackfail, hContact);
+ ForkThread(&CYahooProto::im_sendackfail, (void*)hContact);
return 1;
}
@@ -241,7 +241,7 @@ INT_PTR __cdecl CYahooProto::SendNudge(WPARAM wParam, LPARAM lParam) send_msg(dbv.pszVal, getWord(hContact, "yprotoid", 0), "<ding>", 0);
db_free(&dbv);
- ForkThread(&CYahooProto::im_sendacksuccess, hContact);
+ ForkThread(&CYahooProto::im_sendacksuccess, (void*)hContact);
return 1;
}
|