[client,X11] fix sign of shifted type
This commit is contained in:
parent
0fe89241f8
commit
3d210d815d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user