From 33953cc6a0fab6a91af293c6838f8a46dd7922da Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 14:42:51 +0000 Subject: HCONTACT, part 3 git-svn-id: http://svn.miranda-ng.org/main/trunk@8081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Import/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Import') diff --git a/plugins/Import/src/utils.cpp b/plugins/Import/src/utils.cpp index c5660133ba..4d3cca3b77 100644 --- a/plugins/Import/src/utils.cpp +++ b/plugins/Import/src/utils.cpp @@ -78,7 +78,7 @@ int CreateGroup(const TCHAR* group, HCONTACT hContact) BOOL IsDuplicateEvent(HCONTACT hContact, DBEVENTINFO dbei) { static DWORD dwPreviousTimeStamp = -1; - static HANDLE hPreviousContact = INVALID_HANDLE_VALUE; + static HCONTACT hPreviousContact = (HCONTACT)INVALID_HANDLE_VALUE; static HANDLE hPreviousDbEvent = NULL; HANDLE hExistingDbEvent; @@ -220,6 +220,6 @@ BOOL IsDuplicateEvent(HCONTACT hContact, DBEVENTINFO dbei) } } // reset last event - hPreviousContact = INVALID_HANDLE_VALUE; + hPreviousContact = (HCONTACT)INVALID_HANDLE_VALUE; return FALSE; } -- cgit v1.2.3