From 85b89123b5c8973769236a4ec6913f648fc8b119 Mon Sep 17 00:00:00 2001 From: Doug Moore Date: Tue, 20 Sep 2022 23:36:40 -0500 Subject: 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) \ /* \ -- cgit v1.2.3