mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
Merge branch 'patch-1' into 'master'
spa/plugins/alsa/acp/compat.h: p is already const do not recast See merge request pipewire/pipewire!2751
This commit is contained in:
commit
ef41194cf4
1 changed files with 1 additions and 1 deletions
|
|
@ -436,7 +436,7 @@ static inline const char *pa_path_get_filename(const char *p)
|
||||||
return NULL;
|
return NULL;
|
||||||
if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
|
if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
|
||||||
return fn+1;
|
return fn+1;
|
||||||
return (char*) p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool pa_is_path_absolute(const char *fn)
|
static inline bool pa_is_path_absolute(const char *fn)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue