SDL: audio, pipewire: fix signatures of pw_get_library_version and pw_init.

From b700a326307512436eeadc2770e52159582da08f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 20 Jul 2022 07:01:10 +0300
Subject: [PATCH] audio, pipewire: fix signatures of pw_get_library_version and
 pw_init.

Reference issue: https://github.com/libsdl-org/SDL/issues/5938
---
 src/audio/pipewire/SDL_pipewire.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c
index 6a326348de5..2e173ef9afd 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 *);