From 5a86d8a829bc6de9fac5aafb5d77abd0b98cd8b9 Mon Sep 17 00:00:00 2001 From: sje Date: Thu, 23 Nov 2006 07:25:16 +0000 Subject: cast to char * instead of "fixing" weirdness in m_userinfo.h git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@61 4f64403b-2f21-0410-a795-97e2b3489a10 --- tipper/subst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tipper/subst.cpp') diff --git a/tipper/subst.cpp b/tipper/subst.cpp index b07f567..683c87a 100644 --- a/tipper/subst.cpp +++ b/tipper/subst.cpp @@ -91,7 +91,7 @@ bool uid(HANDLE hContact, TCHAR *buff, int bufflen) { _ltot(ci.dVal, buff, 10); break; case CNFT_ASCIIZ: - a2t(ci.pszVal, buff, bufflen); + a2t((char *)ci.pszVal, buff, bufflen); // what's up with TCHAR in CONTACTINFO?!?!? break; default: return false; -- cgit v1.2.3