aboutsummaryrefslogtreecommitdiff
path: root/c/layout.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-25 03:28:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-25 03:28:05 +0200
commit160b5ac92a846038372225ab79e29166fd152949 (patch)
treeada5441269dbd13f57479180bcafe60cc6fa7525 /c/layout.cpp
parent158e54f071a3b2b41e6105fc3064ce8297fe532a (diff)
downloadEpisodeBrowser-160b5ac92a846038372225ab79e29166fd152949.tar.gz
Fix MSVC compatibility.
Diffstat (limited to 'c/layout.cpp')
-rw-r--r--c/layout.cpp2
1 files changed, 1 insertions, 1 deletions
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<WPARAM>(sizeof(aParts)), reinterpret_cast<LPARAM>(aParts));
+ sizeof(aParts), reinterpret_cast<LPARAM>(aParts));
SendMessage(g_hWnd, WM_SETREDRAW, TRUE, 0);
RedrawWindow(g_hWnd, nullptr, nullptr,