From d55ac84753af4e2f510609cb2e5edfab748ae203 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Thu, 9 Jan 2025 10:12:24 +0000 Subject: [PATCH] Fix Native build on MacOS w GCC 14 thanks to @opichals patch (fix #2483) --- targets/linux/jshardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/linux/jshardware.c b/targets/linux/jshardware.c index 8475a183ac..d95e3ab2e4 100644 --- a/targets/linux/jshardware.c +++ b/targets/linux/jshardware.c @@ -252,7 +252,7 @@ int getch() pthread_t inputThread; bool isInitialised; -void jshInputThread() { +void *jshInputThread() { while (isInitialised) { bool shortSleep = false; /* Handle the delayed Ctrl-C -> interrupt behaviour (see description by EXEC_CTRL_C's definition) */