<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From dc8306bb885fe7d63ae826e957c5023257456ee2 Mon Sep 17 00:00:00 2001
From: Adam Sampson &lt;ats@offog.org&gt;
Date: Sat, 12 Jul 2025 03:04:22 +0100
Subject: [PATCH 2/2] Correct the return type of osc_action_handler

GCC 14/15 have stricter checks for function pointer type compatibility,
so this fixes the build with GCC 15.
---
 gui/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/main.c b/gui/main.c
index 7aa4bc2..359e0f9 100644
--- a/gui/main.c
+++ b/gui/main.c
@@ -47,9 +47,10 @@ static char *osc_build_path(char *base_path, char *method) {
     return strdup(buffer);
 }
 
-void osc_action_handler(const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) {
+int osc_action_handler(const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data) {
 
 //	printf("%s\n",user_data);
+    return 0;
 
 }
 
-- 
2.50.1

</pre></body></html>