From c9fdbfa213c2dbd16acddc022bda5087ce9c2789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Tue, 7 Jan 2025 18:36:41 -0500 Subject: [PATCH] Actually, it's a long, not an Atom... same thing though. --- src/conio/x_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conio/x_events.c b/src/conio/x_events.c index ac1ae2a35a..8bd3b71308 100644 --- a/src/conio/x_events.c +++ b/src/conio/x_events.c @@ -1077,7 +1077,7 @@ static int init_window() x11.XSetWMProperties(dpy, win, NULL, NULL, 0, 0, NULL, wmhints, classhints); x11.XFree(wmhints); } - Atom *tmp_icon = malloc((ciolib_initial_icon_width * ciolib_initial_icon_width + 2) * sizeof(Atom)); + long *tmp_icon = malloc((ciolib_initial_icon_width * ciolib_initial_icon_width + 2) * sizeof(long)); if (tmp_icon) { for (size_t pos = 0; pos < ciolib_initial_icon_width * ciolib_initial_icon_width; pos++) tmp_icon[pos+2] = ((uint32_t*)ciolib_initial_icon)[pos]; -- GitLab