]> git.ipfire.org Git - thirdparty/haproxy.git/commit
IMPORT: ebtree: make string_equal_bits() return an unsigned
authorWilly Tarreau <w@1wt.eu>
Sat, 30 Dec 2023 16:24:06 +0000 (17:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 6 Jan 2024 12:35:42 +0000 (13:35 +0100)
commit5c0128d94284e86b290b0ab51ad0dfb8451c23f7
tree2ebb0619232f2320d069f1dec2d5d85e910f88cc
parentb7068b3152a82f1e3f448c9a1a5964c09d8a1c39
IMPORT: ebtree: make string_equal_bits() return an unsigned

It used to return ssize_t for -1 but in fact we're using this -1 as
the largest possible value and the result is generally cast to signed
to check if the end was reached, so better make it clearly return an
unsigned value here.

This is cbtree commit e1e58a2b2ced2560d4544abaefde595273089704.
This is ebtree commit d7531a7475f8ba8e592342ef1240df3330d0ab47.
include/import/ebtree.h