tools/nolibc: sys: avoid implicit sign cast
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 3 Aug 2023 07:28:48 +0000 (09:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 03:17:07 +0000 (05:17 +0200)
commit04694658ad4a7df13a74160864d87ab858a9da53
treebb81b4fe24d7c3da92c3af0c09ba4bc57cb6c2c7
parent809145f8421b2212dd61c6f7385f79b78b7485d5
tools/nolibc: sys: avoid implicit sign cast

getauxval() returns an unsigned long but the overall type of the ternary
operator needs to be signed.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/sys.h