ref: b62b0655101f02c00ad3a13a42ca94915c2a4603
parent: b5d5725ce1a29fe00d9536873d765895624dbe60
author: Turo Lamminen <turol@iki.fi>
date: Tue Oct 18 14:55:20 EDT 2022
setup: Fix signedness issue in SetIcon
--- a/src/setup/mainmenu.c
+++ b/src/setup/mainmenu.c
@@ -278,8 +278,8 @@
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);