summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>2000-01-28 03:59:12 +0000
committerdcs <dcs@FreeBSD.org>2000-01-28 03:59:12 +0000
commit1413d2c5edfae2b8f5f40ebe8194290cff9c2a32 (patch)
treeb8ceb03530f4c92b87c27e18b798ad22c9ee8115 /sys/boot
parent22631e4b23fa4cd2c2105b218cf4b98f88dce3b9 (diff)
downloadFreeBSD-src-1413d2c5edfae2b8f5f40ebe8194290cff9c2a32.zip
FreeBSD-src-1413d2c5edfae2b8f5f40ebe8194290cff9c2a32.tar.gz
Implement a machine-independent (word size-independent) FICL_TRUE.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/ficl/ficl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/ficl.h b/sys/boot/ficl/ficl.h
index 15bf58a..0bf1775 100644
--- a/sys/boot/ficl/ficl.h
+++ b/sys/boot/ficl/ficl.h
@@ -229,7 +229,7 @@ struct ficl_dict;
** complement of false... that unifies logical and bitwise operations
** nicely.
*/
-#define FICL_TRUE (0xffffffffL)
+#define FICL_TRUE (~(0L))
#define FICL_FALSE (0)
#define FICL_BOOL(x) ((x) ? FICL_TRUE : FICL_FALSE)
OpenPOWER on IntegriCloud