target/arm11: Use 'bool' data type 54/4954/2
authorMarc Schink <openocd-dev@marcschink.de>
Tue, 26 Feb 2019 13:02:59 +0000 (14:02 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 6 Mar 2019 16:10:33 +0000 (16:10 +0000)
Change-Id: Ia09adeab88eaf66c009f94be25ab82b0b8f88f61
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/4954
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/arm11.c

index 4438661..159c30a 100644 (file)
@@ -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;
 }