summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_chat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-30 11:58:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-30 11:58:28 +0000
commit03be4c81f8dc89a070ab2603bbd09e460c4c0969 (patch)
tree466f5e55e48aeff04485cad6e5fa3cb34e4cc02d /protocols/MSN/src/msn_chat.cpp
parent330ce05f94f05386ad5549b3a08d094a4f779089 (diff)
crash fix for MSN "Invite to Chat" command
git-svn-id: http://svn.miranda-ng.org/main/trunk@9993 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_chat.cpp')
-rw-r--r--protocols/MSN/src/msn_chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_chat.cpp b/protocols/MSN/src/msn_chat.cpp
index e3bb6a54d0..04b17072d5 100644
--- a/protocols/MSN/src/msn_chat.cpp
+++ b/protocols/MSN/src/msn_chat.cpp
@@ -159,7 +159,7 @@ static void ChatInviteSend(HANDLE hItem, HWND hwndList, STRLIST &str, CMsnProto
}
else
{
- MsnContact *msc = ppro->Lists_Get((LPCSTR)hItem);
+ MsnContact *msc = ppro->Lists_Get((MCONTACT)hItem);
if (msc) str.insertn(msc->email);
}
}