From 878d72910cccf4f84c7cb45bb4c11134920f3166 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Aug 2015 11:49:54 +0000 Subject: - naming conflict; - warning fixes; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14988 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/src/modules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mir_core') diff --git a/src/mir_core/src/modules.cpp b/src/mir_core/src/modules.cpp index 86bff8146f..5f2986bf67 100644 --- a/src/mir_core/src/modules.cpp +++ b/src/mir_core/src/modules.cpp @@ -354,8 +354,8 @@ MIR_CORE_DLL(int) UnhookEvent(HANDLE hHook) if (hHook == NULL) return 0; - int hookId = (int)hHook >> 16; - int subscriberId = ((int)hHook & 0xFFFF) - 1; + int hookId = (INT_PTR)hHook >> 16; + int subscriberId = ((INT_PTR)hHook & 0xFFFF) - 1; mir_cslock lck(csHooks); -- cgit v1.2.3