diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-27 21:42:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-27 21:42:44 +0000 |
commit | 17501083ca15adc9e3f53757b47a961ed2e77e9c (patch) | |
tree | e6a88938fd555265d20bf4281765c84fb874bc18 /plugins/SmileyAdd/src | |
parent | 18fb3c2f6c84e3242df27a8686da95658584f7a8 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15051 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r-- | plugins/SmileyAdd/src/general.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index 1416db2f6b..7b0dff73fd 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -217,18 +217,18 @@ MCONTACT DecodeMetaContact(MCONTACT hContact) return NULL;
MCONTACT hReal = db_mc_getMostOnline(hContact);
- if (hReal == NULL || hReal == (MCONTACT)CALLSERVICE_NOTFOUND)
+ if (hReal == NULL || (INT_PTR)hReal == CALLSERVICE_NOTFOUND)
hReal = hContact;
return hReal;
}
-bool IsSmileyProto(char* proto)
+bool IsSmileyProto(char *proto)
{
return proto && mir_strcmp(proto, META_PROTO) && (CallProtoService(proto, PS_GETCAPS, PFLAGNUM_1, 0) & (PF1_IM | PF1_CHAT));
}
-void ReportError(const TCHAR* errmsg)
+void ReportError(const TCHAR *errmsg)
{
static const TCHAR title[] = _T("Miranda SmileyAdd");
|