diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c index 50794c06c8..dfa94dd9ac 100644 --- a/apps/recorder/albumart.c +++ b/apps/recorder/albumart.c @@ -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)