git: 86d00db451f7 - main - Use 0 and 1, not false and true, in tree.h changes. Reported by: jenkins
Date: Wed, 21 Sep 2022 04:37:23 UTC
The branch main has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=86d00db451f7b9fcc06e5a507cced4b20aa55ade commit 86d00db451f7b9fcc06e5a507cced4b20aa55ade Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2022-09-21 04:36:40 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2022-09-21 04:36:40 +0000 Use 0 and 1, not false and true, in tree.h changes. Reported by: jenkins --- 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 c03edee0f248..d37e5a338f8b 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) \ /* \