summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/dbfilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src/dbfilter.cpp')
-rw-r--r--plugins/MirOTR/src/dbfilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/dbfilter.cpp b/plugins/MirOTR/src/dbfilter.cpp
index 1f349a4c22..354a25e00d 100644
--- a/plugins/MirOTR/src/dbfilter.cpp
+++ b/plugins/MirOTR/src/dbfilter.cpp
@@ -202,7 +202,7 @@ int StatusModeChange(WPARAM wParam, LPARAM lParam)
ConnContext *context = otr_user_state->context_root;
while (context) {
if (context->msgstate == OTRL_MSGSTATE_ENCRYPTED && (proto == 0 || mir_strcmp(proto, context->protocol) == 0)) {
- MCONTACT hContact = (MCONTACT)context->app_data;
+ MCONTACT hContact = (UINT_PTR)context->app_data;
if (hContact) {
otrl_message_disconnect(otr_user_state, &ops, (void*)hContact, context->accountname, context->protocol, context->username, OTRL_INSTAG_BEST);