diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-09-28 21:43:37 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-10-31 20:43:27 +0000 |
commit | ba2fbe22470915359e1905aaad4c613eacbdf6dc (patch) | |
tree | 701c642d7bd3badb2b97b971cce811c4140e778b /src/flash/nor/em357.c | |
parent | 704082443d03cdeba9c89a8f70d1f1017330d903 (diff) | |
download | riscv-openocd-ba2fbe22470915359e1905aaad4c613eacbdf6dc.zip riscv-openocd-ba2fbe22470915359e1905aaad4c613eacbdf6dc.tar.gz riscv-openocd-ba2fbe22470915359e1905aaad4c613eacbdf6dc.tar.bz2 |
Remove unnecessary casts
Change-Id: Ia97283707282ccccdc707c969f59337313b4e291
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1767
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/flash/nor/em357.c')
-rw-r--r-- | src/flash/nor/em357.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/em357.c b/src/flash/nor/em357.c index 8f25a89..56f44b3 100644 --- a/src/flash/nor/em357.c +++ b/src/flash/nor/em357.c @@ -505,7 +505,7 @@ static int em357_write_block(struct flash_bank *bank, uint8_t *buffer, ; retval = target_write_buffer(target, write_algorithm->address, - sizeof(em357_flash_write_code), (uint8_t *)em357_flash_write_code); + sizeof(em357_flash_write_code), em357_flash_write_code); if (retval != ERROR_OK) return retval; |