From 998d11fdf17e8675cb0b8186dfcce55fda443128 Mon Sep 17 00:00:00 2001 From: Timothy Schoen Date: Mon, 4 Mar 2024 14:22:38 +0100 Subject: [PATCH] Fixed new warnings --- pdlua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdlua.c b/pdlua.c index 4eca4f9..5656b89 100644 --- a/pdlua.c +++ b/pdlua.c @@ -366,7 +366,7 @@ static void pdlua_proxyinlet_anything static void pdlua_proxyinlet_fwd ( t_pdlua_proxyinlet *p, /**< The proxy inlet that received the message. */ - t_symbol *s, /**< The message selector, which is always "fwd" */ + t_symbol *UNUSED(s), /**< The message selector, which is always "fwd" */ int argc, /**< The message length. */ t_atom *argv /**< The atoms in the message. The first atom is the actual selector */ ) @@ -394,7 +394,7 @@ static void pdlua_proxyinlet_setup(void) pdlua_proxyinlet_class = class_new(gensym("pdlua proxy inlet"), 0, 0, sizeof(t_pdlua_proxyinlet), 0, 0); if (pdlua_proxyinlet_class) { class_addanything(pdlua_proxyinlet_class, pdlua_proxyinlet_anything); - class_addmethod(pdlua_proxyinlet_class, pdlua_proxyinlet_fwd, gensym("fwd"), A_GIMME, 0); + class_addmethod(pdlua_proxyinlet_class, (t_method)pdlua_proxyinlet_fwd, gensym("fwd"), A_GIMME, 0); } }