From 33953cc6a0fab6a91af293c6838f8a46dd7922da Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 14:42:51 +0000 Subject: HCONTACT, part 3 git-svn-id: http://svn.miranda-ng.org/main/trunk@8081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/im.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Yahoo/src/im.cpp') 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), "", 0); db_free(&dbv); - ForkThread(&CYahooProto::im_sendacksuccess, hContact); + ForkThread(&CYahooProto::im_sendacksuccess, (void*)hContact); return 1; } -- cgit v1.2.3