mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
acp: fix -Werror=discarded-qualifiers error
This commit is contained in:
parent
95da54a482
commit
fb47e739d9
1 changed files with 2 additions and 2 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue