diff options
Diffstat (limited to 'plugins/FingerprintNG/src/fingerprint.cpp')
-rw-r--r-- | plugins/FingerprintNG/src/fingerprint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp index cf778443a1..82addeed47 100644 --- a/plugins/FingerprintNG/src/fingerprint.cpp +++ b/plugins/FingerprintNG/src/fingerprint.cpp @@ -167,7 +167,7 @@ int __fastcall ApplyFingerprintImage(HCONTACT hContact, LPTSTR szMirVer) ExtraIcon_SetIcon(hExtraIcon, hContact, hImage);
- if (arMonitoredWindows.getIndex(hContact) != -1)
+ if (arMonitoredWindows.getIndex((HANDLE)hContact) != -1)
SetSrmmIcon(hContact, szMirVer);
return 0;
}
@@ -905,7 +905,7 @@ static int OnSrmmWindowEvent(WPARAM wParam, LPARAM lParam) if (szProto != NULL)
ptszMirVer = db_get_tsa(event->hContact, szProto, "MirVer");
SetSrmmIcon(event->hContact, ptszMirVer);
- arMonitoredWindows.insert(event->hContact);
+ arMonitoredWindows.insert((HANDLE)event->hContact);
}
else if (event->uType == MSG_WINDOW_EVT_CLOSE)
arMonitoredWindows.remove(event->hContact);
|