From 0ebbda971890c149c5028066fc5ed7ea72228d87 Mon Sep 17 00:00:00 2001 From: Brandon Bergren Date: Tue, 22 Sep 2020 23:27:09 +0000 Subject: [PATCH] Tweak ficl definition from r365724 I had overthought how to do the FICL_TRUE change. We do not need to explicitly specify how big the 0 is before the cast to the correct size. The same change was suggested by both imp@ and Gunther Nikl independently. Tested on powerpc. Reported by: imp, Gunther Nikl --- stand/ficl/ficl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/ficl/ficl.h b/stand/ficl/ficl.h index 239eb382cde..97cf00b0dff 100644 --- a/stand/ficl/ficl.h +++ b/stand/ficl/ficl.h @@ -249,7 +249,7 @@ typedef struct ficl_system_info FICL_SYSTEM_INFO; ** complement of false... that unifies logical and bitwise operations ** nicely. */ -#define FICL_TRUE ((FICL_UNS)~(0LL)) +#define FICL_TRUE (~(FICL_UNS)0) #define FICL_FALSE (0) #define FICL_BOOL(x) ((x) ? FICL_TRUE : FICL_FALSE) -- 2.45.0