Add "const" to eliminate "error: initialization discards ‘const’ qualifier from pointer target type"

(cherry picked from commit 47486545b1)
This commit is contained in:
Dale Turner 2025-12-03 20:02:29 -04:00 committed by Simon Zeni
parent 878aebfb74
commit aabe351207

View file

@ -602,7 +602,7 @@ xcursor_build_fullname(const char *dir, const char *subdir, const char *file)
static const char *
xcursor_next_path(const char *path)
{
char *colon = strchr(path, ':');
const char *colon = strchr(path, ':');
if (!colon)
return NULL;