commit b62b0655101f02c00ad3a13a42ca94915c2a4603
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Oct 18 18:55:20 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Tue Oct 18 18:55:20 2022 +0300
setup: Fix signedness issue in SetIcon
---
src/setup/mainmenu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/setup/mainmenu.c b/src/setup/mainmenu.c
index 94559977..94b765f3 100644
--- a/src/setup/mainmenu.c
+++ b/src/setup/mainmenu.c
@@ -278,8 +278,8 @@ static void SetIcon(void)
surface = SDL_CreateRGBSurfaceFrom((void *) setup_icon_data, setup_icon_w,
setup_icon_h, 32, setup_icon_w * 4,
- 0xff << 24, 0xff << 16,
- 0xff << 8, 0xff << 0);
+ 0xffu << 24, 0xffu << 16,
+ 0xffu << 8, 0xffu << 0);
SDL_SetWindowIcon(TXT_SDLWindow, surface);
SDL_FreeSurface(surface);