diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-09-28 23:01:07 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-10-31 20:45:26 +0000 |
commit | 01298ca2c839965f54d6d6a7b8ac00fe77190116 (patch) | |
tree | fc8a0697e378b58270f043d865cc5154fd5f72fe /src/helper/ioutil.c | |
parent | 4935709484828f9ce6e12c31957c78c6c1019d3e (diff) | |
download | riscv-openocd-01298ca2c839965f54d6d6a7b8ac00fe77190116.zip riscv-openocd-01298ca2c839965f54d6d6a7b8ac00fe77190116.tar.gz riscv-openocd-01298ca2c839965f54d6d6a7b8ac00fe77190116.tar.bz2 |
binarybuffer: Remove unnecessary cast and fix hidden "bug"
Because of the cast, the const decoration on the parameter provided no
guarantee against modification since it was silently discarded.
Change-Id: Ib83ade955e1a61ee2175c690620437b5e19cbb6a
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1776
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/helper/ioutil.c')
0 files changed, 0 insertions, 0 deletions