From fabb5ec61205a9a3dca6f82645f257d00a534572 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 11 Jan 2014 13:53:27 +0000 Subject: forgotten to declare two remaining fields as const git-svn-id: http://svn.miranda-ng.org/main/trunk@7591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/src/chat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Omegle') diff --git a/protocols/Omegle/src/chat.cpp b/protocols/Omegle/src/chat.cpp index 30ba9e2192..2ab09ef2f0 100644 --- a/protocols/Omegle/src/chat.cpp +++ b/protocols/Omegle/src/chat.cpp @@ -371,8 +371,8 @@ HANDLE OmegleProto::GetChatHandle() GC_INFO gci = {0}; gci.Flags = HCONTACT; gci.pszModule = m_szModuleName; - gci.pszID = const_cast(m_tszUserName); - CallService(MS_GC_GETINFO, 0, (LPARAM)(GC_INFO *) &gci); + gci.pszID = m_tszUserName; + CallService(MS_GC_GETINFO, 0, (LPARAM)&gci); return gci.hContact; } \ No newline at end of file -- cgit v1.2.3