summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src/sametime.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-03-22 23:04:42 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-03-22 23:04:42 +0000
commit995af9f867a98c81701e5b2c5ee42cf665b21bc5 (patch)
tree5dbd423f18cd28f2a299035b7fe91b813e99aa22 /protocols/Sametime/src/sametime.cpp
parent319e17aa46ea27d8ac02240dcb95944a1b3920a2 (diff)
Sametime: translation fixes and fixes for disabled people
git-svn-id: http://svn.miranda-ng.org/main/trunk@8698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Sametime/src/sametime.cpp')
-rw-r--r--protocols/Sametime/src/sametime.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp
index 87bf29c5d9..133d173ffa 100644
--- a/protocols/Sametime/src/sametime.cpp
+++ b/protocols/Sametime/src/sametime.cpp
@@ -76,10 +76,10 @@ INT_PTR CSametimeProto::SametimeLoadIcon(WPARAM wParam, LPARAM lParam)
id = IDI_ICON_PROTO;
break;
default:
- return (int) (HICON) NULL;
+ return NULL;
}
- return (int) LoadImage(hInst, MAKEINTRESOURCE(id), IMAGE_ICON,
+ return (INT_PTR) LoadImage(hInst, MAKEINTRESOURCE(id), IMAGE_ICON,
GetSystemMetrics(wParam & PLIF_SMALL ? SM_CXSMICON : SM_CXICON),
GetSystemMetrics(wParam & PLIF_SMALL ? SM_CYSMICON : SM_CYICON), 0);
return 0;
@@ -126,7 +126,7 @@ void ReleaseIconEx(const char* name, BOOL big)
// Copied from MSN plugin - sent acks need to be from different thread
-void __cdecl sttFakeAckInfoSuccessThread(void* param)
+void __cdecl sttFakeAckInfoSuccessThread(void *param)
{
TFakeAckParams* tParam = (TFakeAckParams*)param;
CSametimeProto* proto = tParam->proto;
@@ -140,7 +140,7 @@ void __cdecl sttFakeAckInfoSuccessThread(void* param)
return;
}
-void __cdecl sttFakeAckMessageSuccessThread(void* param)
+void __cdecl sttFakeAckMessageSuccessThread(void *param)
{
TFakeAckParams* tParam = (TFakeAckParams*)param;
CSametimeProto* proto = tParam->proto;
@@ -154,7 +154,7 @@ void __cdecl sttFakeAckMessageSuccessThread(void* param)
return;
}
-void __cdecl sttFakeAckMessageFailedThread(void* param)
+void __cdecl sttFakeAckMessageFailedThread(void *param)
{
TFakeAckParams* tParam = (TFakeAckParams*)param;
CSametimeProto* proto = tParam->proto;
@@ -168,7 +168,7 @@ void __cdecl sttFakeAckMessageFailedThread(void* param)
return;
}
-void __cdecl sttRecvAwayThread(void* param)
+void __cdecl sttRecvAwayThread(void *param)
{
TFakeAckParams* tParam = (TFakeAckParams*)param;
CSametimeProto* proto = tParam->proto;
@@ -183,7 +183,7 @@ void __cdecl sttRecvAwayThread(void* param)
}
-int CSametimeProto::OnWindowEvent(WPARAM wParam, LPARAM lParam)
+int CSametimeProto::OnWindowEvent(WPARAM, LPARAM lParam)
{
MessageWindowEventData* mwed = (MessageWindowEventData*)lParam;
@@ -196,7 +196,7 @@ int CSametimeProto::OnWindowEvent(WPARAM wParam, LPARAM lParam)
return 0;
}
-int CSametimeProto::OnIdleChanged(WPARAM wParam, LPARAM lParam)
+int CSametimeProto::OnIdleChanged(WPARAM, LPARAM lParam)
{
if (!(lParam & IDF_PRIVACY)) {
is_idle = lParam & IDF_ISIDLE ? true : false;
@@ -217,7 +217,7 @@ int CSametimeProto::OnPreShutdown(WPARAM wParam, LPARAM lParam)
}
-int CSametimeProto::OnSametimeContactDeleted(WPARAM wParam, LPARAM lParam)
+int CSametimeProto::OnSametimeContactDeleted(WPARAM wParam, LPARAM)
{
MCONTACT hContact = wParam;
ContactDeleted(hContact);