mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-20 02:10:06 +01:00
Add "const" to eliminate "error: initialization discards ‘const’ qualifier from pointer target type"
This commit is contained in:
parent
abf80b529e
commit
47486545b1
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
Reference in a new issue