From: Øyvind Harboe Date: Mon, 22 Mar 2010 06:21:09 +0000 (+0100) Subject: bitq: fix warning now that out_value is const X-Git-Tag: v0.5.0-rc1~806 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ccfaed8bc7936d7a1640bf69df52ac65ca38e298;p=openocd 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 --- 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)