diff options
Diffstat (limited to 'plugins/NewXstatusNotify/src')
-rw-r--r-- | plugins/NewXstatusNotify/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/NewXstatusNotify/src/popup.cpp | 2 | ||||
-rw-r--r-- | plugins/NewXstatusNotify/src/xstatus.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index 5616832ce7..42a831073a 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -694,7 +694,7 @@ void BlinkIcon(HCONTACT hContact, char* szProto, WORD status) cle.cbSize = sizeof(cle);
cle.flags = CLEF_ONLYAFEW | CLEF_TCHAR;
cle.hContact = hContact;
- cle.hDbEvent = hContact;
+ cle.hDbEvent = (HANDLE)hContact;
cle.hIcon = (opt.BlinkIcon_Status ? LoadSkinnedProtoIcon(szProto, status) : LoadSkinnedIcon(SKINICON_OTHER_USERONLINE));
cle.pszService = "UserOnline/Description";
cle.ptszTooltip = stzTooltip;
diff --git a/plugins/NewXstatusNotify/src/popup.cpp b/plugins/NewXstatusNotify/src/popup.cpp index 2a35c7f8ed..7aba8a569e 100644 --- a/plugins/NewXstatusNotify/src/popup.cpp +++ b/plugins/NewXstatusNotify/src/popup.cpp @@ -77,7 +77,7 @@ void QueryAwayMessage(HWND hWnd, PLUGINDATA *pdp) void PopupAction(HWND hWnd, BYTE action)
{
HCONTACT hContact = PUGetContact(hWnd);
- if (hContact && hContact != INVALID_HANDLE_VALUE) {
+ if (hContact && hContact != (HCONTACT)INVALID_HANDLE_VALUE) {
switch (action) {
case PCA_OPENMESSAGEWND:
CallServiceSync(MS_MSG_SENDMESSAGET, (WPARAM)hContact, 0);
diff --git a/plugins/NewXstatusNotify/src/xstatus.cpp b/plugins/NewXstatusNotify/src/xstatus.cpp index e1d6313bb1..ed150f927a 100644 --- a/plugins/NewXstatusNotify/src/xstatus.cpp +++ b/plugins/NewXstatusNotify/src/xstatus.cpp @@ -449,7 +449,7 @@ int OnWindowEvent(WPARAM wParam, LPARAM lParam) (templates.LogFlags & NOTIFY_OPENING_ML) &&
(db_get_b(mwed->hContact, MODULE, "EnableLogging", 1) == 1))
{
- mir_forkthread(AddEventThread, mwed->hContact);
+ mir_forkthread(AddEventThread, (void*)mwed->hContact);
}
return 0;
|