summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/commonheaders.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-16 21:07:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-16 21:07:53 +0000
commitbb1a3cdefb28e4468018d50fbb9d16778abe4d6e (patch)
tree90e63c16dbfe06622f8ae61d7eb7d527c49132e3 /plugins/UserInfoEx/src/commonheaders.h
parent970946fb23d2555a6d08cd0c5c065d7fd4bee322 (diff)
potential flaw in UserInfoEx (64 bits)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8148 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/commonheaders.h')
-rw-r--r--plugins/UserInfoEx/src/commonheaders.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/commonheaders.h b/plugins/UserInfoEx/src/commonheaders.h
index 8d02bf2cac..f789243f8c 100644
--- a/plugins/UserInfoEx/src/commonheaders.h
+++ b/plugins/UserInfoEx/src/commonheaders.h
@@ -104,7 +104,7 @@ using namespace std;
#define MIRSUCCEEDED(f) ((f)==MIR_OK)
#define MIRFAILED(f) ((f)!=MIR_OK)
-#define MIREXISTS(f) ((int)(f)!=CALLSERVICE_NOTFOUND)
+#define MIREXISTS(f) ((INT_PTR)(f)!=CALLSERVICE_NOTFOUND)
#define PtrIsValid(p) (((p)!=0)&&(((HANDLE)(p))!=INVALID_HANDLE_VALUE))
#define FREE(p) {if (PtrIsValid(p)){free((void*)p);(p)=NULL;}}