SW: Fix more -Wformat-overflow

git-svn-id: https://svn.eduke32.com/eduke32@7560 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-10 01:00:55 +00:00 committed by Christoph Oelckers
parent 0c7a7e1bd6
commit 5aec94bd60
2 changed files with 3 additions and 3 deletions

View file

@ -261,7 +261,7 @@ extern int bufferjitter;
SWBOOL CameraTestMode = FALSE; SWBOOL CameraTestMode = FALSE;
char ds[256]; // debug string char ds[512]; // debug string
extern short NormalVisibility; extern short NormalVisibility;

View file

@ -59,7 +59,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
short TimeLimitTable[9] = {0,3,5,10,15,20,30,45,60}; short TimeLimitTable[9] = {0,3,5,10,15,20,30,45,60};
short QuickLoadNum = -1; short QuickLoadNum = -1;
char QuickLoadDescrDialog[32]; char QuickLoadDescrDialog[128];
SWBOOL QuickSaveMode = FALSE; SWBOOL QuickSaveMode = FALSE;
SWBOOL SavePrompt = FALSE; SWBOOL SavePrompt = FALSE;
extern SWBOOL InMenuLevel, LoadGameOutsideMoveLoop, LoadGameFromDemo; extern SWBOOL InMenuLevel, LoadGameOutsideMoveLoop, LoadGameFromDemo;
@ -2989,7 +2989,7 @@ MNU_LoadSaveDraw(UserCall call, MenuItem_p item)
if (i == game_num && MenuInputMode && !SavePrompt) if (i == game_num && MenuInputMode && !SavePrompt)
{ {
static SWBOOL cur_show; static SWBOOL cur_show;
char tmp[sizeof(SaveGameDescr[0])]; char tmp[sizeof(SaveGameDescr[0])*2];
//cur_show ^= 1; //cur_show ^= 1;
cur_show = (totalclock & 32); cur_show = (totalclock & 32);