Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ewmh: fix compiler warning #910

Merged
merged 1 commit into from
Oct 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fvwm/ewmh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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();

Expand Down
Loading