[client,X11] fix sign of shifted type

This commit is contained in:
akallabeth 2024-09-24 11:30:23 +02:00
parent 0fe89241f8
commit 3d210d815d
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -204,7 +204,7 @@ const char* window_styles_ex_to_string(UINT32 styleEx, char* buffer, size_t leng
const char* sep = ""; const char* sep = "";
for (size_t x = 0; x < 32; x++) for (size_t x = 0; x < 32; x++)
{ {
const UINT32 val = 1 << x; const UINT32 val = 1UL << x;
if ((styleEx & val) != 0) if ((styleEx & val) != 0)
{ {
const char* str = window_style_ex_to_string(val); const char* str = window_style_ex_to_string(val);