mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-13 07:21:31 +00:00
Extra bloaty junk to modernise stuff a bit.
https://fte.triptohell.info/moodles/qss/
sbar.c: In function 'Sbar_DrawInventory': sbar.c:673:18: warning: '%3i' directive writing between 3 and 11 bytes into a region of size 6 [-Wformat-length=] sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999 ^~~ sbar.c:673:17: note: directive argument in the range [-2147483648, 999] sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999 ^~~~~ sbar.c:673:3: note: format output between 4 and 12 bytes into a destination of size 6 sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1346 af15c1b1-3010-417e-b628-4374ebc0bcbd |
||
---|---|---|
quakespasm |