Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 47486545b196987f6f07fffe2929bba8f515b8e9 Mon Sep 17 00:00:00 2001
|
|
From: Dale Turner <rxguyrx@gmail.com>
|
|
Date: Wed, 3 Dec 2025 20:02:29 -0400
|
|
Subject: [PATCH] =?UTF-8?q?Add=20"const"=20to=20eliminate=20"error:=20init?=
|
|
=?UTF-8?q?ialization=20discards=20=E2=80=98const=E2=80=99=20qualifier=20f?=
|
|
=?UTF-8?q?rom=20pointer=20target=20type"?=
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/47486545b196987f6f07fffe2929bba8f515b8e9
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
---
|
|
xcursor/xcursor.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/xcursor/xcursor.c b/xcursor/xcursor.c
|
|
index b5edb9de8..6627fb6cd 100644
|
|
--- a/xcursor/xcursor.c
|
|
+++ b/xcursor/xcursor.c
|
|
@@ -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;
|
|
--
|
|
GitLab
|
|
|