From 125bd5947101a715520487b4b72121c3d4f6cf6d Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 20 Oct 2025 22:18:41 +0000 Subject: [PATCH] fix msvc complain git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@439 b9cfdab3-6d41-4d17-bbe4-086880011989 --- include/Mw/Widget/ListBox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Mw/Widget/ListBox.h b/include/Mw/Widget/ListBox.h index d906e84..95665a8 100644 --- a/include/Mw/Widget/ListBox.h +++ b/include/Mw/Widget/ListBox.h @@ -75,7 +75,7 @@ MwInline void MwListBoxDelete(MwWidget handle, int index) { */ MwInline const char* MwListBoxGet(MwWidget handle, int index) { const char* out; - MwWidgetExecute(handle, "mwListBoxGet", &out, index); + MwWidgetExecute(handle, "mwListBoxGet", (void*)&out, index); return out; };