diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-08 19:41:14 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-08 19:41:14 +0000 |
commit | 038f6cc65778c17300ce5c62bb25723f7fa16714 (patch) | |
tree | 61b97dfd9eca190a017495f11e0a2c780590f6d3 /plugins/UserInfoEx/src/commonheaders.h | |
parent | 9c4ba307862a3408c67a55bd0c003b6f0f2bdc7d (diff) |
UserInfoEx:
- minor warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14067 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/commonheaders.h')
-rw-r--r-- | plugins/UserInfoEx/src/commonheaders.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/commonheaders.h b/plugins/UserInfoEx/src/commonheaders.h index 2645d39356..d16a2d558f 100644 --- a/plugins/UserInfoEx/src/commonheaders.h +++ b/plugins/UserInfoEx/src/commonheaders.h @@ -100,7 +100,7 @@ using namespace std; #define PtrIsValid(p) (((p)!=0)&&(((HANDLE)(p))!=INVALID_HANDLE_VALUE))
#define FREE(p) {if (PtrIsValid(p)){free((void*)p);(p)=NULL;}}
-#define MIR_DELETE(p) {LPVOID ptr = (LPVOID)(p);if (PtrIsValid(ptr)){delete(ptr);(ptr)=NULL;}}
+#define MIR_DELETE(p) {if (PtrIsValid(p)){delete(p);(p)=NULL;}}
#define MIR_FREE(p) {if (PtrIsValid(p)){mir_free((void*)p);(p)=NULL;}}
#define GetUserData(p) GetWindowLongPtr((p), GWLP_USERDATA)
|