diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-26 09:14:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-26 09:14:05 +0000 |
commit | 6a78b8c34efc8856acab62e22c61a0883311170c (patch) | |
tree | 44fd56e7d52f7329f74f2116780aa3d023fb0ecd /plugins/TipperYM/src/message_pump.cpp | |
parent | 0c4b5818d8d705cd8361ad36bba6797d1daaf30d (diff) |
- warnings' fixes;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@15032 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src/message_pump.cpp')
-rw-r--r-- | plugins/TipperYM/src/message_pump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/message_pump.cpp b/plugins/TipperYM/src/message_pump.cpp index fa9f32515d..949d5d9603 100644 --- a/plugins/TipperYM/src/message_pump.cpp +++ b/plugins/TipperYM/src/message_pump.cpp @@ -48,7 +48,7 @@ bool NeedWaitForContent(CLCINFOTIPEX *clcitex) bool bNeedWait = false;
if (opt.bWaitForContent && IsContactTooltip(clcitex))
{
- MCONTACT hContact = (MCONTACT) clcitex->hItem;
+ MCONTACT hContact = (DWORD_PTR)clcitex->hItem;
char *szProto = GetContactProto(hContact);
if (!szProto) return false;
@@ -157,7 +157,7 @@ unsigned int CALLBACK MessagePumpThread(void*) }
if (swzMsg) {
- db_set_ts((MCONTACT)clcitex->hItem, MODULE, "TempStatusMsg", swzMsg);
+ db_set_ts((DWORD_PTR)clcitex->hItem, MODULE, "TempStatusMsg", swzMsg);
mir_free(swzMsg);
}
|