From 01b6764df51f4f097d1c2e093e945ebd9a2f15a3 Mon Sep 17 00:00:00 2001 From: Ximalas Date: Sat, 25 Feb 2023 18:11:03 +0100 Subject: [PATCH] Update meta_modelica_segv.c (#10261) - Clang 15 wants an explicit cast to pointer to void. Detected on fairly recent FreeBSD/amd64 14.0-CURRENT. --- OMCompiler/SimulationRuntime/c/meta/meta_modelica_segv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OMCompiler/SimulationRuntime/c/meta/meta_modelica_segv.c b/OMCompiler/SimulationRuntime/c/meta/meta_modelica_segv.c index 69a02282e2d..6ee5b1d706c 100644 --- a/OMCompiler/SimulationRuntime/c/meta/meta_modelica_segv.c +++ b/OMCompiler/SimulationRuntime/c/meta/meta_modelica_segv.c @@ -253,7 +253,7 @@ void init_metamodelica_segv_handler() void mmc_init_stackoverflow(threadData_t *threadData) { - threadData->stackBottom = 0x1; /* Dummy until Windows detects the stack bottom */ + threadData->stackBottom = (void *)0x1; /* Dummy until Windows detects the stack bottom */ } #endif