From 8b7d57194bca59148d24a5213f6dd549326aa59d Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Sun, 1 Oct 2023 13:03:56 +0100 Subject: [PATCH] ewmh: fix compiler warning --- fvwm/ewmh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fvwm/ewmh.c b/fvwm/ewmh.c index c4030ae96..0862e1626 100644 --- a/fvwm/ewmh.c +++ b/fvwm/ewmh.c @@ -1916,7 +1916,7 @@ void EWMH_Init(struct monitor *m) int supported_count = 0; long val; XTextProperty text; - unsigned char *utf_name = "FVWM3"; + char *utf_name = "FVWM3"; char *names[1]; XClassHint classhints; @@ -1952,7 +1952,7 @@ void EWMH_Init(struct monitor *m) ewmh_ChangeProperty( Scr.NoFocusWin, "_NET_WM_NAME", EWMH_ATOM_LIST_PROPERTY_NOTIFY, - utf_name, strlen(utf_name)); + (unsigned char *)utf_name, strlen(utf_name)); clean_up();