summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/tipper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TipperYM/src/tipper.cpp')
-rw-r--r--plugins/TipperYM/src/tipper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TipperYM/src/tipper.cpp b/plugins/TipperYM/src/tipper.cpp
index 9259bb827d..ca273e1f13 100644
--- a/plugins/TipperYM/src/tipper.cpp
+++ b/plugins/TipperYM/src/tipper.cpp
@@ -109,7 +109,7 @@ int SettingChanged(WPARAM hContact, LPARAM lParam)
int EventDeleted(WPARAM wParam, LPARAM lParam)
{
DBEVENTINFO dbei = { sizeof(dbei) };
- if (!db_event_get((HANDLE)lParam, &dbei))
+ if (!db_event_get(lParam, &dbei))
if (dbei.eventType == EVENTTYPE_MESSAGE)
db_unset(wParam, MODULE, "LastCountTS");