diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PasteIt/src/PasteIt.cpp | 2 | ||||
-rw-r--r-- | plugins/Scriver/src/chat/services.cpp | 2 | ||||
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSend.cpp | 4 |
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; } } |