From 86f2e43e7a1b9124af1bba3956f646d1f4ac0024 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 31 Dec 2025 17:03:41 +0100 Subject: [PATCH] ct_video: silence warning on const char in XvAttributeRec Signed-off-by: Enrico Weigelt, metux IT consult --- src/ct_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ct_video.c b/src/ct_video.c index 568e0a3..6eeb625 100644 --- a/src/ct_video.c +++ b/src/ct_video.c @@ -103,7 +103,7 @@ static XF86VideoFormatRec Formats[NUM_FORMATS] = static XF86AttributeRec Attributes[NUM_ATTRIBUTES] = { - {XvSettable | XvGettable, 0, (1 << 24) - 1, "XV_COLORKEY"} + {XvSettable | XvGettable, 0, (1 << 24) - 1, (char*)"XV_COLORKEY"} }; #define NUM_IMAGES 4