summaryrefslogtreecommitdiff
path: root/plugins/Dropbox
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox')
-rw-r--r--plugins/Dropbox/src/dropbox_events.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/dropbox_events.cpp b/plugins/Dropbox/src/dropbox_events.cpp
index a150797ccb..4282a362d1 100644
--- a/plugins/Dropbox/src/dropbox_events.cpp
+++ b/plugins/Dropbox/src/dropbox_events.cpp
@@ -119,8 +119,7 @@ void __stdcall EnableTabSrmmButtonSync(void *arg)
bbd.pszModuleName = MODULE;
bbd.dwButtonID = BBB_ID_FILE_SEND;
bbd.bbbFlags = BBSF_RELEASED;
- MCONTACT hContact = (MCONTACT)arg;
- CallService(MS_BB_SETBUTTONSTATE, hContact, (LPARAM)&bbd);
+ CallService(MS_BB_SETBUTTONSTATE, (UINT_PTR)arg, (LPARAM)&bbd);
}
int CDropbox::OnFileDialogCancelled(WPARAM, LPARAM lParam)