From: Marc Schink Date: Tue, 26 Feb 2019 13:02:59 +0000 (+0100) Subject: target/arm11: Use 'bool' data type X-Git-Tag: v0.11.0-rc1~814 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=31a3e353489ab8a16e2251d4f41402ce15d1bb37;ds=inline 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 --- diff --git a/src/target/arm11.c b/src/target/arm11.c index 4438661496..159c30a850 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; }