summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src')
-rw-r--r--plugins/MirOTR/src/mirotrmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/mirotrmenu.cpp b/plugins/MirOTR/src/mirotrmenu.cpp
index 60ee2d96aa..4babd970d7 100644
--- a/plugins/MirOTR/src/mirotrmenu.cpp
+++ b/plugins/MirOTR/src/mirotrmenu.cpp
@@ -121,10 +121,10 @@ LRESULT CALLBACK PopupMenuWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM
{
switch (message) {
case WM_MEASUREITEM:
- if (Menu_MeasureItem((LPMEASUREITEMSTRUCT)lParam)) return TRUE;
+ if (Menu_MeasureItem(lParam)) return TRUE;
break;
case WM_DRAWITEM:
- if (Menu_DrawItem((LPDRAWITEMSTRUCT)lParam)) return TRUE;
+ if (Menu_DrawItem(lParam)) return TRUE;
break;
case WM_COMMAND:
if (Menu_ProcessCommandById(wParam, GetWindowLongPtr(hwnd, GWLP_USERDATA)))