fix a warning of discarding a const property

This commit is contained in:
Mike Brady
2023-06-10 15:36:40 +01:00
parent d00f94cd2b
commit b3af03ebc0
+1 -1
View File
@@ -59,7 +59,7 @@ void stream_success_cb(pa_stream *stream, int success, void *userdata);
void stream_write_cb(pa_stream *stream, size_t requested_bytes, void *userdata);
int status_error_notifications = 0;
static void check_pa_stream_status(const pa_stream *p, const char *message) {
static void check_pa_stream_status(pa_stream *p, const char *message) {
if (status_error_notifications < 10) {
if (p == NULL) {
warn("%s No pulseaudio stream!", message);