From ef33070526dc865fd270cf2cb627b02fe2aa56a2 Mon Sep 17 00:00:00 2001 From: Paolo Marrone Date: Thu, 20 Jun 2024 18:03:55 +0200 Subject: [PATCH] avoid warning --- templates/vst3/src/vst3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vst3/src/vst3.c b/templates/vst3/src/vst3.c index 6a63b6a..0efce88 100644 --- a/templates/vst3/src/vst3.c +++ b/templates/vst3/src/vst3.c @@ -2176,7 +2176,7 @@ char ModuleEntry(void *handle) { char *file; if (refs == 0) { Dl_info info; - union { void* d; char (*f)(); } v; + union { void* d; char (*f)(void); } v; v.f = vstExit; if (dladdr((void*) v.d, &info) == 0) return 0;