mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 11:40:52 +00:00
Wstrict-overflow adjustment
This commit is contained in:
parent
899120e475
commit
296b678d7e
1 changed files with 1 additions and 1 deletions
|
@ -4203,7 +4203,7 @@ static void M_DrawAddons(void)
|
||||||
// then adjust!
|
// then adjust!
|
||||||
if (i < 0)
|
if (i < 0)
|
||||||
{
|
{
|
||||||
if ((m -= i) > (ssize_t)sizedirmenu)
|
if ((m += abs(i)) > (ssize_t)sizedirmenu)
|
||||||
m = sizedirmenu;
|
m = sizedirmenu;
|
||||||
i = 0;
|
i = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue