spa/plugins/alsa/acp/compat.h: p is already const do not recast

This commit is contained in:
Rudi Heitbaum 2026-03-17 03:17:15 +11:00
parent 653b8703bc
commit 1a37f445a2

View file

@ -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)