summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-11 13:53:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-11 13:53:27 +0000
commitfabb5ec61205a9a3dca6f82645f257d00a534572 (patch)
treec56ec686dde3b11cd09fa55c3406f010c62cb5aa /protocols/Omegle/src
parent5b39a6dadf859c73d9d5891643798a616efd4322 (diff)
forgotten to declare two remaining fields as const
git-svn-id: http://svn.miranda-ng.org/main/trunk@7591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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