~profzoom/wmaker/next

Viewing all changes in revision 3751.

  • Committer: Carlos R. Mafra
  • Author(s): Christophe CURIS
  • Date: 2021-05-18 16:49:17 UTC
  • Revision ID: git-v1:1612d2f34560015b611b86cfddb46278cbf5d7c6
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: