summaryrefslogtreecommitdiff
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
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
-rw-r--r--protocols/MSN/src/msn_chat.cpp2
-rw-r--r--protocols/MSN/src/version.h2
2 files changed, 2 insertions, 2 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);
}
}
diff --git a/protocols/MSN/src/version.h b/protocols/MSN/src/version.h
index 1101c8e491..5730b096e0 100644
--- a/protocols/MSN/src/version.h
+++ b/protocols/MSN/src/version.h
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 11
#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
+#define __BUILD_NUM 3
#include <stdver.h>