summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-22 07:21:09 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-22 07:21:09 +0100
commitccfaed8bc7936d7a1640bf69df52ac65ca38e298 (patch)
tree8c1f0ec99c995df89c0a03a0e794843c34bf1fb1 /src
parentc2f714bd4482cfe3c09efdc57e8b6b7e8536e181 (diff)
downloadopenocd+libswd-ccfaed8bc7936d7a1640bf69df52ac65ca38e298.tar.gz
openocd+libswd-ccfaed8bc7936d7a1640bf69df52ac65ca38e298.tar.bz2
openocd+libswd-ccfaed8bc7936d7a1640bf69df52ac65ca38e298.tar.xz
openocd+libswd-ccfaed8bc7936d7a1640bf69df52ac65ca38e298.zip
bitq: fix warning now that out_value is const
This was an easy one. Just add the missing "const" to a local variable definition. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/jtag/drivers/bitq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/bitq.c b/src/jtag/drivers/bitq.c
index bffc4756..79ca349a 100644
--- a/src/jtag/drivers/bitq.c
+++ b/src/jtag/drivers/bitq.c
@@ -226,7 +226,7 @@ void bitq_scan_field(struct scan_field* field, int pause)
int bit_cnt;
int tdo_req;
- uint8_t* out_ptr;
+ const uint8_t* out_ptr;
uint8_t out_mask;
if (field->in_value)