20 Nov
2019
20 Nov
'19
10:02 p.m.
On Wed, 20 Nov 2019 20:13:55 +0100, Rosen Penev wrote:
While the progress bar cannot be negative, GCC concludes that it can be and assumes tmp can be written past the end. Fixes this GCC warning:
aplay.c:1747:18: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1747 | sprintf(tmp, "%02d%%", maxperc[c]);
Signed-off-by: Rosen Penev rosenp@gmail.com
Applied, thanks.
Takashi