]> git.sur5r.net Git - openocd/commitdiff
bitq: fix warning now that out_value is const
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 22 Mar 2010 06:21:09 +0000 (07:21 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 22 Mar 2010 06:21:09 +0000 (07:21 +0100)
This was an easy one. Just add the missing "const" to a
local variable definition.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/drivers/bitq.c

index bffc47569e116504eba5bcebf791ac981bc23b29..79ca349ad3f996ed5cef400f69d79c9f052c60bc 100644 (file)
@@ -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)