From 1c619a2f12cbfe1887824d41e68e85a1c4f5a8b3 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Sun, 22 Nov 2009 10:20:14 -0800 Subject: [PATCH] target: make register flags "bool" Mostly for clarity, but it also saves code and data space. Signed-off-by: David Brownell --- src/target/register.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/register.h b/src/target/register.h index 0f8f2f4e..0cd0ddfe 100644 --- a/src/target/register.h +++ b/src/target/register.h @@ -29,8 +29,8 @@ struct reg { char *name; void *value; - int dirty; - int valid; + bool dirty; + bool valid; uint32_t size; void *arch_info; const struct reg_arch_type *type; -- 2.39.5