From 371db973914f270432e914922b735e01279c5db8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 12 Feb 2014 14:12:44 +0000 Subject: another bunch of useless conversions died git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/im.cpp | 2 +- protocols/Yahoo/src/links.cpp | 2 +- protocols/Yahoo/src/yahoo.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Yahoo') diff --git a/protocols/Yahoo/src/im.cpp b/protocols/Yahoo/src/im.cpp index 49b7f108ae..bee33002bc 100644 --- a/protocols/Yahoo/src/im.cpp +++ b/protocols/Yahoo/src/im.cpp @@ -214,7 +214,7 @@ int __cdecl CYahooProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre) // NUDGES if (!lstrcmpA(pre->szMessage, "") && ServiceExists("NUDGE/Send")) { debugLogA("[YahooRecvMessage] Doing Nudge Service!"); - NotifyEventHooks(hYahooNudge, (WPARAM)hContact, pre->timestamp); + NotifyEventHooks(hYahooNudge, hContact, pre->timestamp); return 0; } diff --git a/protocols/Yahoo/src/links.cpp b/protocols/Yahoo/src/links.cpp index 9aef65c76b..b455b61e5c 100644 --- a/protocols/Yahoo/src/links.cpp +++ b/protocols/Yahoo/src/links.cpp @@ -150,7 +150,7 @@ static INT_PTR ServiceParseYmsgrLink(WPARAM wParam, LPARAM lParam) MCONTACT hContact = proto->add_buddy(id, id, 0, PALF_TEMPORARY); /* ensure contact is on list */ if (hContact) - CallService(MS_MSG_SENDMESSAGET, (WPARAM)hContact, (LPARAM)msg); + CallService(MS_MSG_SENDMESSAGET, hContact, (LPARAM)msg); mir_free(id); return 0; diff --git a/protocols/Yahoo/src/yahoo.cpp b/protocols/Yahoo/src/yahoo.cpp index fc4debb1f5..d23fa6926c 100644 --- a/protocols/Yahoo/src/yahoo.cpp +++ b/protocols/Yahoo/src/yahoo.cpp @@ -320,7 +320,7 @@ MCONTACT CYahooProto::add_buddy(const char *yahoo_id, const char *yahoo_name, in //not already there: add LOG(("[add_buddy] Adding buddy id: %s (Nick: %s), flags: %lu", yid, yahoo_name, flags)); hContact = (MCONTACT)CallService(MS_DB_CONTACT_ADD, 0, 0); - CallService(MS_PROTO_ADDTOCONTACT, (WPARAM)hContact,(LPARAM)m_szModuleName); + CallService(MS_PROTO_ADDTOCONTACT, hContact,(LPARAM)m_szModuleName); setString( hContact, YAHOO_LOGINID, yid ); Set_Protocol( hContact, protocol ); @@ -872,7 +872,7 @@ void CYahooProto::ext_typing_notify(const char *me, const char *who, int protoco MCONTACT hContact = getbuddyH(who); if (hContact) - CallService(MS_PROTO_CONTACTISTYPING, (WPARAM)hContact, (LPARAM)stat?10:0); + CallService(MS_PROTO_CONTACTISTYPING, hContact, (LPARAM)stat?10:0); } void CYahooProto::ext_game_notify(const char *me, const char *who, int stat, const char *msg) -- cgit v1.2.3