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 --- plugins/SendScreenshotPlus/src/CSend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/CSend.cpp') 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; } } -- cgit v1.2.3