From b311f7e2315dac72c98c6fff41df0fbf19eeeb29 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 4 Dec 2021 11:11:10 +0300 Subject: [PATCH] Fix format overflow warning with 32-bit gcc (taken from vkquake.) --- Quake/gl_model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/gl_model.c b/Quake/gl_model.c index 94f00239..6db6324f 100644 --- a/Quake/gl_model.c +++ b/Quake/gl_model.c @@ -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);