mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-19 05:33:49 -04:00
spa/plugins/alsa/acp/compat.h: p is already const do not recast
This commit is contained in:
parent
653b8703bc
commit
1a37f445a2
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;
|
||||
if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
|
||||
return fn+1;
|
||||
return (char*) p;
|
||||
return p;
|
||||
}
|
||||
|
||||
static inline bool pa_is_path_absolute(const char *fn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue