spa/plugins/alsa/acp/compat.h: Fix missed -Wdiscarded-qualifiers warning

This commit is contained in:
Ripley Tom 2026-02-21 19:33:11 +01:00 committed by Wim Taymans
parent 367ce4626c
commit c847b81629

View file

@ -429,9 +429,9 @@ static PA_PRINTF_FUNC(1,0) inline char *pa_vsprintf_malloc(const char *fmt, va_l
#define pa_fopen_cloexec(f,m) fopen(f,m"e")
static inline char *pa_path_get_filename(const char *p)
static inline const char *pa_path_get_filename(const char *p)
{
char *fn;
const char *fn;
if (!p)
return NULL;
if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))