summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp')
-rw-r--r--plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
index 5fe47ff34e..8c01776ff0 100644
--- a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
+++ b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
@@ -3976,7 +3976,7 @@ int CLUIFrames_UpdateBorders()
{
for (int i = 0; i < g_nFramesCount; i++) {
if (!g_pfwFrames[i].floating) {
- DWORD style = (int)GetWindowLongPtr(g_pfwFrames[i].hWnd, GWL_STYLE) & (~WS_BORDER);
+ LONG_PTR style = GetWindowLongPtr(g_pfwFrames[i].hWnd, GWL_STYLE) & (~WS_BORDER);
if (!g_CluiData.fLayered && g_pfwFrames[i].UseBorder) style |= WS_BORDER;
SetWindowLongPtr(g_pfwFrames[i].hWnd, GWL_STYLE, style);
CLUIFramesModifyMainMenuItems(g_pfwFrames[i].id, 0);