diff options
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;
}
|