mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-05 04:06:11 -05: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 *
|
||||
xcursor_next_path(const char *path)
|
||||
{
|
||||
char *colon = strchr(path, ':');
|
||||
const char *colon = strchr(path, ':');
|
||||
|
||||
if (!colon)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue