From 371db973914f270432e914922b735e01279c5db8 Mon Sep 17 00:00:00 2001 From: George Hazan 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 --- src/modules/utils/path.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/utils/path.cpp') diff --git a/src/modules/utils/path.cpp b/src/modules/utils/path.cpp index 3520a749b0..c67a297b8c 100644 --- a/src/modules/utils/path.cpp +++ b/src/modules/utils/path.cpp @@ -116,7 +116,7 @@ static __forceinline char *mir_a2x(char *, char *s) { return mir_strdup(s); } static __forceinline char *GetContactNickX(char *, MCONTACT hContact) { - return mir_strdup((char *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)hContact, 0)); + return mir_strdup((char *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, 0)); } static __forceinline char *GetContactIDX(char *, MCONTACT hContact) @@ -203,7 +203,7 @@ static __forceinline TCHAR *mir_a2x(TCHAR *, char *s) { return mir_a2t(s); } static __forceinline TCHAR *GetContactNickX(TCHAR *, MCONTACT hContact) { - return mir_tstrdup((TCHAR *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)hContact, GCDNF_TCHAR)); + return mir_tstrdup((TCHAR *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GCDNF_TCHAR)); } static __forceinline TCHAR *GetContactIDX(TCHAR *, MCONTACT hContact) -- cgit v1.2.3