From 31a3e353489ab8a16e2251d4f41402ce15d1bb37 Mon Sep 17 00:00:00 2001 From: Marc Schink Date: Tue, 26 Feb 2019 14:02:59 +0100 Subject: [PATCH] target/arm11: Use 'bool' data type Change-Id: Ia09adeab88eaf66c009f94be25ab82b0b8f88f61 Signed-off-by: Marc Schink Reviewed-on: http://openocd.zylin.com/4954 Tested-by: jenkins Reviewed-by: Antonio Borneo --- src/target/arm11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/arm11.c b/src/target/arm11.c index 443866149..159c30a85 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -442,8 +442,8 @@ static uint32_t arm11_nextpc(struct arm11_common *arm11, int current, uint32_t a } buf_set_u32(value, 0, 32, address); - arm11->arm.pc->dirty = 1; - arm11->arm.pc->valid = 1; + arm11->arm.pc->dirty = true; + arm11->arm.pc->valid = true; return address; }