Fix array sizes that GCC 12 complains about (mostly sprintf)

Origin commit data
------------------
Branch: ni/coolstream
Commit: 06b4049dc1
Author: Hendi <hendi48@freenet.de>
Date: 2023-01-23 (Mon, 23 Jan 2023)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Hendi
2023-01-23 23:29:31 +01:00
committed by vanhofen
parent a74eec68c3
commit 5d7a547fe4
5 changed files with 15 additions and 14 deletions

View File

@@ -1738,7 +1738,7 @@ int tuxtx_main(int pid, int page, int source)
subtitledelay++;
// display subtitledelay
PosY = StartY;
char ns[10];
char ns[18];
SetPosX(1);
sprintf(ns,"+%d ",subtitledelay);
RenderCharFB(ns[0],&atrtable[ATR_WB]);
@@ -1756,7 +1756,7 @@ int tuxtx_main(int pid, int page, int source)
if (subtitledelay < 0) subtitledelay = 0;
// display subtitledelay
PosY = StartY;
char ns[10];
char ns[18];
SetPosX(1);
sprintf(ns,"+%d ",subtitledelay);
RenderCharFB(ns[0],&atrtable[ATR_WB]);