diff --git a/distrho/extra/WebViewImpl.cpp b/distrho/extra/WebViewImpl.cpp index 7c65e9dc..136375a9 100644 --- a/distrho/extra/WebViewImpl.cpp +++ b/distrho/extra/WebViewImpl.cpp @@ -948,7 +948,7 @@ struct QSize { S NAME = reinterpret_cast(dlsym(nullptr, #SN)); \ DISTRHO_SAFE_ASSERT_RETURN(NAME != nullptr, false); -static void web_wake_idle(void* const ptr) +static int web_wake_idle(void* const ptr) { WebViewRingBuffer* const shmptr = static_cast(ptr); @@ -996,6 +996,7 @@ static void web_wake_idle(void* const ptr) } free(buffer); + return 0; } // -----------------------------------------------------------------------------------------------------------