diff options
author | Martin Nowak <dawg@dawgfoto.de> | 2012-08-01 22:35:04 +0200 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2012-08-24 16:51:00 +0000 |
commit | f97a1594119f90f63526e1fa8a95dbcba0acd192 (patch) | |
tree | fb2a96b41e031daad43b34a41f59d8193ac44258 /src/flash | |
parent | 78f4f9564881b1f81024b1f629a88c28436aecc4 (diff) |
build: fix clang warnings
Change-Id: I3c6a63a18034535f0a8c2c62ba8a708f09d7839b
Signed-off-by: Martin Nowak <dawg@dawgfoto.de>
Reviewed-on: http://openocd.zylin.com/765
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/mflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/mflash.c b/src/flash/mflash.c index 5d1f3b6e..4ef8cb69 100644 --- a/src/flash/mflash.c +++ b/src/flash/mflash.c @@ -510,7 +510,7 @@ static int mg_mflash_read_sects(void *buff, uint32_t sect_num, uint32_t sect_cnt } static int mg_mflash_do_write_sects(void *buff, uint32_t sect_num, uint32_t sect_cnt, - mg_io_type_cmd cmd) + uint8_t cmd) { uint32_t i, address; int ret; |