From ae71b80e63f809a9a8f32a400c39659dae64e3d0 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sat, 4 Dec 2021 19:48:47 -0500 Subject: [PATCH] i forgot to commit omg --- minigui.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minigui.d b/minigui.d index 3183eea..6c1dd7b 100644 --- a/minigui.d +++ b/minigui.d @@ -7853,7 +7853,7 @@ class TableView : Widget { private int getActualSetSize(size_t i, bool askWindows) { version(win32_widgets) if(askWindows) - return SendMessage(hwnd, LVM_GETCOLUMNWIDTH, cast(WPARAM) i, 0); + return cast(int) SendMessage(hwnd, LVM_GETCOLUMNWIDTH, cast(WPARAM) i, 0); auto w = columns[i].width; if(w == -1) return 50; // idk, just give it some space so the percents aren't COMPLETELY off FIXME