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;