summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src')
-rw-r--r--protocols/Omegle/src/chat.cpp4
1 files changed, 2 insertions, 2 deletions
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<TCHAR*>(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