]> Savannah Git Hosting - gnulib.git/commit
intprops: pacify GCC < 10 -Wsign-compare
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Mar 2024 22:56:45 +0000 (15:56 -0700)
committerBruno Haible <bruno@clisp.org>
Mon, 8 Apr 2024 11:09:28 +0000 (13:09 +0200)
commitc63bfe086219aa01d64a2fbdf1ca5b2253682802
tree38c50b2ccc9c90042e31d23bfbcbd0528cfa3575
parent05ad6e6d5a1b71f0c3b5b9101109e484e4972ec7
intprops: pacify GCC < 10 -Wsign-compare

Problem reported by Martin Dorey in:
https://savannah.gnu.org/bugs/index.php?65537
* lib/intprops-internal.h (_GL_INT_MULTIPLY_WRAPV):
When working around GCC bug 91450, pacify -Wsign-compare by
casting 0 to the result type.
ChangeLog
lib/intprops-internal.h