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

This commit is contained in:
Dale Turner 2025-12-03 20:02:29 -04:00
parent abf80b529e
commit 47486545b1

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;