]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: debug: mark the RNG's seed as unsigned
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Dec 2020 15:26:36 +0000 (16:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Dec 2020 15:31:08 +0000 (16:31 +0100)
commitc7ead07b9c31d9648d67c1f652ddf571bf6ea025
treebf55024344b502b9da37657008286fc448778f4f
parent0c366a87619206d1bf1c9f69698933d0e58b7be5
CLEANUP: debug: mark the RNG's seed as unsigned

Since commit 8a069eb9a ("MINOR: debug: add a trivial PRNG for scheduler
stress-tests"), 32-bit gcc 4.7 emits this warning when parsing the
initial seed for the debugger's RNG (2463534242):

  src/debug.c:46:1: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]

Let's mark it explicitly unsigned.
src/debug.c