summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_tbbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_tbbutton.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_tbbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_tbbutton.cpp b/plugins/Clist_modern/src/modern_tbbutton.cpp
index f7cc630d3b..d22cf76aab 100644
--- a/plugins/Clist_modern/src/modern_tbbutton.cpp
+++ b/plugins/Clist_modern/src/modern_tbbutton.cpp
@@ -428,8 +428,8 @@ static LRESULT CALLBACK ToolbarButtonProc(HWND hwndDlg, UINT msg, WPARAM wParam
return 1;
case MBM_UPDATETRANSPARENTFLAG:
- LONG flag = GetWindowLongPtr(hwndDlg, GWL_EXSTYLE);
- LONG oldFlag = flag;
+ LONG_PTR flag = GetWindowLongPtr(hwndDlg, GWL_EXSTYLE);
+ LONG_PTR oldFlag = flag;
if (lParam == 2)
lParam = (g_CluiData.fDisableSkinEngine) ? 0 : 1;
flag &= ~WS_EX_TRANSPARENT;