diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-11 13:53:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-11 13:53:27 +0000 |
commit | fabb5ec61205a9a3dca6f82645f257d00a534572 (patch) | |
tree | c56ec686dde3b11cd09fa55c3406f010c62cb5aa /plugins/SendScreenshotPlus | |
parent | 5b39a6dadf859c73d9d5891643798a616efd4322 (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 'plugins/SendScreenshotPlus')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSend.cpp b/plugins/SendScreenshotPlus/src/CSend.cpp index 90f7700622..a8f6dd53e8 100644 --- a/plugins/SendScreenshotPlus/src/CSend.cpp +++ b/plugins/SendScreenshotPlus/src/CSend.cpp @@ -146,7 +146,7 @@ void CSend::svcSendChat() { for (int i = 0; i < cnt ; i++ ) { gci.iItem = i; gci.Flags = BYINDEX | HCONTACT | ID; - CallService(MS_GC_GETINFO, 0, (LPARAM) &gci); + CallService(MS_GC_GETINFO, 0, (LPARAM)&gci); if (gci.hContact == m_hContact) { GCDEST gcd = { m_pszProto, gci.pszID, GC_EVENT_SENDMESSAGE }; GCEVENT gce = { sizeof(gce), &gcd }; @@ -156,7 +156,7 @@ void CSend::svcSendChat() { gce.time = time(NULL); //* returns 0 on success or error code on failure - res = 200 + (int)CallService(MS_GC_EVENT, 0, (LPARAM) &gce); + res = 200 + (int)CallService(MS_GC_EVENT, 0, (LPARAM)&gce); break; } } |