diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c index 6a326348d..2e173ef9a 100644 --- a/src/audio/pipewire/SDL_pipewire.c +++ b/src/audio/pipewire/SDL_pipewire.c @@ -86,8 +86,8 @@ enum PW_READY_FLAGS static SDL_bool pipewire_initialized = SDL_FALSE; /* Pipewire entry points */ -static char *(*PIPEWIRE_pw_get_library_version)(void); -static void (*PIPEWIRE_pw_init)(int *, char **); +static const char *(*PIPEWIRE_pw_get_library_version)(void); +static void (*PIPEWIRE_pw_init)(int *, char ***); static void (*PIPEWIRE_pw_deinit)(void); static struct pw_thread_loop *(*PIPEWIRE_pw_thread_loop_new)(const char *, const struct spa_dict *); static void (*PIPEWIRE_pw_thread_loop_destroy)(struct pw_thread_loop *);