WINGs: increase temporary buffer to silence a gcc warning
commit1612d2f34560015b611b86cfddb46278cbf5d7c6
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 14 May 2021 16:10:20 +0000 (14 18:10 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:49:17 +0000 (18 17:49 +0100)
treee01c42bf6f242a4e4fd0a04eb0bde7c4a6004542
parent920c6d16b17ff9977369bf7dcca7e55dd886a6db
WINGs: increase temporary buffer to silence a gcc warning

The code limits the integer number to 0..359 so we need 4 bytes to store
that, but that require too complex flow processing for compilers to deduce
it.

It does not cost to increase the temporary buffer to the minimum size
requested by GCC, so let's do this, because spurious warnings can
potentially divert us from more important ones.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/wcolorpanel.c