summaryrefslogtreecommitdiff
path: root/plugins
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 /plugins
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 'plugins')
-rw-r--r--plugins/PasteIt/src/PasteIt.cpp2
-rw-r--r--plugins/Scriver/src/chat/services.cpp2
-rw-r--r--plugins/SendScreenshotPlus/src/CSend.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp
index d69a97f987..50f87f2319 100644
--- a/plugins/PasteIt/src/PasteIt.cpp
+++ b/plugins/PasteIt/src/PasteIt.cpp
@@ -153,7 +153,7 @@ void PasteIt(HANDLE hContact, int mode)
gci.iItem = i;
gci.pszModule = szProto;
gci.Flags = BYINDEX | HCONTACT | ID;
- CallService(MS_GC_GETINFO, 0, (LPARAM)(GC_INFO *) &gci);
+ CallService(MS_GC_GETINFO, 0, (LPARAM)&gci);
if (gci.hContact == hContact)
{
// In this place session was finded, gci.pszID contains
diff --git a/plugins/Scriver/src/chat/services.cpp b/plugins/Scriver/src/chat/services.cpp
index 0da545b939..6e09eb3039 100644
--- a/plugins/Scriver/src/chat/services.cpp
+++ b/plugins/Scriver/src/chat/services.cpp
@@ -71,7 +71,7 @@ static INT_PTR Service_GetCount(WPARAM wParam,LPARAM lParam)
static INT_PTR Service_GetInfo(WPARAM wParam,LPARAM lParam)
{
- GC_INFO *gci = (GC_INFO *) lParam;
+ GC_INFO *gci = (GC_INFO *)lParam;
if (!gci || !gci->pszModule)
return 1;
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;
}
}