From 3d210d815d5c7f6a38db96127f3bf677228dfca7 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 24 Sep 2024 11:30:23 +0200 Subject: [PATCH] [client,X11] fix sign of shifted type --- client/X11/xf_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/X11/xf_window.c b/client/X11/xf_window.c index 0c17646a3..3ba208f8e 100644 --- a/client/X11/xf_window.c +++ b/client/X11/xf_window.c @@ -204,7 +204,7 @@ const char* window_styles_ex_to_string(UINT32 styleEx, char* buffer, size_t leng const char* sep = ""; for (size_t x = 0; x < 32; x++) { - const UINT32 val = 1 << x; + const UINT32 val = 1UL << x; if ((styleEx & val) != 0) { const char* str = window_style_ex_to_string(val);