From 46a3a8f6ed31ff4d0411ecc4cb276345a02e23dc Mon Sep 17 00:00:00 2001 From: Andreas Politz Date: Sat, 7 Oct 2017 17:11:05 +0200 Subject: [PATCH] Make boolean struct member use one bit * src/itree.h (struct interval_node): Add bit descriptor. --- src/itree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itree.h b/src/itree.h index d685a69eb78..80115aa467c 100644 --- a/src/itree.h +++ b/src/itree.h @@ -46,7 +46,7 @@ struct interval_node ptrdiff_t offset; /* The amount of shift to apply to this subtree. */ uintmax_t otick; /* offset modified tick */ Lisp_Object data; /* Exclusively used by the client. */ - bool_bf visited; /* For traversal via generator. */ + bool_bf visited : 1; /* For traversal via generator. */ bool_bf rear_advance : 1; /* Same as for marker and overlays. */ bool_bf front_advance : 1; /* Same as for marker and overlays. */ }; -- 2.39.2