diff --git a/cursor/xcursor.c b/cursor/xcursor.c index 6e54cdbd..28aab045 100644 --- a/cursor/xcursor.c +++ b/cursor/xcursor.c @@ -607,7 +607,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;