Fix format overflow warning with 32-bit gcc

(taken from vkquake.)
This commit is contained in:
Andrew J. Hesford 2021-12-04 11:11:10 +03:00 committed by Ozkan Sezer
parent d5e9d1270c
commit b311f7e231

View file

@ -2289,7 +2289,7 @@ visdone:
if (i < mod->numsubmodels-1)
{ // duplicate the basic information
char name[10];
char name[12];
sprintf (name, "*%i", i+1);
loadmodel = Mod_FindName (name);