From 160b5ac92a846038372225ab79e29166fd152949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 25 Aug 2022 03:28:05 +0200 Subject: Fix MSVC compatibility. --- c/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/layout.cpp') diff --git a/c/layout.cpp b/c/layout.cpp index 5b3ff00..36edf32 100644 --- a/c/layout.cpp +++ b/c/layout.cpp @@ -32,7 +32,7 @@ void UpdateLayout(int w, int h) /* Resize status bar parts. */ const int aParts[] = {rc.right-Dpi(55), rc.right}; SendMessage(g_hWndStatus, SB_SETPARTS, - reinterpret_cast(sizeof(aParts)), reinterpret_cast(aParts)); + sizeof(aParts), reinterpret_cast(aParts)); SendMessage(g_hWnd, WM_SETREDRAW, TRUE, 0); RedrawWindow(g_hWnd, nullptr, nullptr, -- cgit v1.2.3