Date: Wed, 12 Oct 2022 03:00:25 GMT From: Doug Moore <dougm@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 85b89123b5c8 - stable/13 - Use 0 and 1, not false and true, in tree.h changes. Reported by: jenkins Message-ID: <202210120300.29C30PB1079519@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=85b89123b5c8973769236a4ec6913f648fc8b119 commit 85b89123b5c8973769236a4ec6913f648fc8b119 Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2022-09-21 04:36:40 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2022-10-12 02:45:53 +0000 Use 0 and 1, not false and true, in tree.h changes. Reported by: jenkins (cherry picked from commit 86d00db451f7b9fcc06e5a507cced4b20aa55ade) --- sys/sys/tree.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/tree.h b/sys/sys/tree.h index e10d92bb5ce6..51bf4211fea4 100644 --- a/sys/sys/tree.h +++ b/sys/sys/tree.h @@ -365,9 +365,9 @@ struct { \ */ #ifndef RB_AUGMENT_CHECK #ifndef RB_AUGMENT -#define RB_AUGMENT_CHECK(x) false +#define RB_AUGMENT_CHECK(x) 0 #else -#define RB_AUGMENT_CHECK(x) (RB_AUGMENT(x), true) +#define RB_AUGMENT_CHECK(x) (RB_AUGMENT(x), 1) #endif #endif @@ -475,7 +475,7 @@ struct { \ #ifndef RB_AUGMENT #define _RB_AUGMENT_VERIFY(x) RB_AUGMENT_CHECK(x) #else -#define _RB_AUGMENT_VERIFY(x) false +#define _RB_AUGMENT_VERIFY(x) 0 #endif #define RB_GENERATE_RANK(name, type, field, attr) \ /* \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210120300.29C30PB1079519>