mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user