summaryrefslogtreecommitdiff
path: root/src/core/stdauth/src/auth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdauth/src/auth.cpp')
-rw-r--r--src/core/stdauth/src/auth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdauth/src/auth.cpp b/src/core/stdauth/src/auth.cpp
index bd6a7feb4c..3a1a1d43eb 100644
--- a/src/core/stdauth/src/auth.cpp
+++ b/src/core/stdauth/src/auth.cpp
@@ -46,10 +46,10 @@ static int AuthEventAdded(WPARAM, LPARAM lParam)
{
TCHAR szUid[128] = _T("");
TCHAR szTooltip[256];
- const HANDLE hDbEvent = (HANDLE)lParam;
+ MEVENT hDbEvent = (MEVENT)lParam;
DBEVENTINFO dbei = { sizeof(dbei) };
- db_event_get((HANDLE)lParam, &dbei);
+ db_event_get(lParam, &dbei);
if (dbei.flags & (DBEF_SENT | DBEF_READ) || (dbei.eventType != EVENTTYPE_AUTHREQUEST && dbei.eventType != EVENTTYPE_ADDED))
return 0;