From 371db973914f270432e914922b735e01279c5db8 Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Wed, 12 Feb 2014 14:12:44 +0000
Subject: another bunch of useless conversions died

git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/AuthState/src/main.cpp    | 2 +-
 plugins/AuthState/src/options.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'plugins/AuthState')

diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp
index f8498223b6..6d2223af71 100644
--- a/plugins/AuthState/src/main.cpp
+++ b/plugins/AuthState/src/main.cpp
@@ -173,7 +173,7 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam)
 
 	// Set initial value for all contacts
 	for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
-		onExtraImageApplying((WPARAM)hContact, 1);
+		onExtraImageApplying(hContact, 1);
 
 	hOptInitialise = HookEvent(ME_OPT_INITIALISE, onOptInitialise);
 	if (bContactMenuItem)
diff --git a/plugins/AuthState/src/options.cpp b/plugins/AuthState/src/options.cpp
index 9e1f972f55..fafd1d115b 100644
--- a/plugins/AuthState/src/options.cpp
+++ b/plugins/AuthState/src/options.cpp
@@ -56,7 +56,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
 				bIconsForRecentContacts = IsDlgButtonChecked(hwndDlg, IDC_ICONSFORRECENT);
 
 				for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
-					onExtraImageApplying((WPARAM)hContact,0);
+					onExtraImageApplying(hContact,0);
 
 				//Store options values to DB
 				db_set_b(NULL, MODULENAME, "EnableAuthIcon", bUseAuthIcon);
-- 
cgit v1.2.3