intprops: shorten, to pacify gcc -Woverlength-strings
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 23:45:14 +0000 (16:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 23:48:13 +0000 (16:48 -0700)
commit8aad2a7bdd93df610506c08accd7cf1b67153f51
treec69fd5b50be692328b363ea443070fde19fcd48c
parentf4c4af09bcf3f0497dc3347ecc0a0b3c9ee1ff63
intprops: shorten, to pacify gcc -Woverlength-strings

* lib/intprops.h (_GL_INT_CONVERT, _GL_INT_NEGATE_CONVERT):
(_GL_BINARY_OP_OVERFLOW): Say "0 * (x)" rather than "(x) - (x)",
so that, for example, verify (INT_MULTIPLY_OVERFLOW (...)) is less
likely to run afoul of C compiler limits for string constant lengths.
See <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00528.html>.
ChangeLog
lib/intprops.h