diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-12-24 11:17:09 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2011-01-04 09:52:20 +0000 |
commit | dc1c5a750043a34ff94d51558b5473f567d84604 (patch) | |
tree | a63205154489a608e45f801d71ddcc8266ea1c45 /src/target/target.h | |
parent | e8eb5bbc04810ad61f0f9f8a54529eeea8fcda70 (diff) | |
download | riscv-openocd-dc1c5a750043a34ff94d51558b5473f567d84604.zip riscv-openocd-dc1c5a750043a34ff94d51558b5473f567d84604.tar.gz riscv-openocd-dc1c5a750043a34ff94d51558b5473f567d84604.tar.bz2 |
target: change working area free data type
We only use the struct working_area member 'free' as a
true/false type so might as well use a bool data type.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target.h b/src/target/target.h index ef05e75..4d03018 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -94,7 +94,7 @@ struct working_area { uint32_t address; uint32_t size; - int free; + bool free; uint8_t *backup; struct working_area **user; struct working_area *next; |