mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-22 05:34:24 -04:00
Add "const" to eliminate "error: initialization discards ‘const’ qualifier from pointer target type"
(cherry picked from commit 47486545b1)
This commit is contained in:
parent
878aebfb74
commit
aabe351207
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ xcursor_build_fullname(const char *dir, const char *subdir, const char *file)
|
||||||
static const char *
|
static const char *
|
||||||
xcursor_next_path(const char *path)
|
xcursor_next_path(const char *path)
|
||||||
{
|
{
|
||||||
char *colon = strchr(path, ':');
|
const char *colon = strchr(path, ':');
|
||||||
|
|
||||||
if (!colon)
|
if (!colon)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue