albumart: fix warning with GCC16

apps/recorder/albumart.c:68:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
68 | sep = strrchr(fullpath, '/');
| ^

Change-Id: Ifd25623c8fa649302e44421316671aec2de9f037
This commit is contained in:
Solomon Peachy 2026-05-23 21:11:40 -04:00
parent 4ffd098ac9
commit eb6746c1d6

View file

@ -56,9 +56,9 @@
* The function return parameter is a pointer to the filename
* inside the given fullpath.
*/
static char* strip_filename(char* buf, int buf_size, const char* fullpath)
static const char* strip_filename(char* buf, int buf_size, const char* fullpath)
{
char* sep;
const char* sep;
int len;
if (!buf || buf_size <= 0 || !fullpath)