openocd/src
Paul Fertser 279878ccd7 target/nds32_disassembler: fix format specifiers warnings
According to the standard every operation returns at least an integer,
so PRIu8 format specifier is not suitable for these values as is.

This breaks build on OS X (x86_64-apple-darwin13.0.0) with "Apple LLVM
version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)".

Fix by adding appropriate casts. In fact there's plenty of room (and
I'd say necessity) for factoring out common code in there, but it's
too invasive for a non-maintainer.

Change-Id: I7d2182eb1d2f86fa22c882fbbaa6cfadf1c3e8fc
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1878
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-02-04 21:18:27 +00:00
..
flash kinetis : improve kinetis flash driver. 2014-02-04 13:17:31 +00:00
helper command: Fix formatting for empty usage string 2014-01-09 13:21:51 +00:00
jtag CMSIS-DAP: auto-detect CMSIS-DAP USB VID:PID 2014-01-23 21:32:46 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos rtos: fix uninitialised variable warning 2014-02-04 21:17:24 +00:00
server server/gdb_server: fix uninitialised variable warning 2014-02-04 21:18:24 +00:00
svf svf: off-by-one error; do not access after the allocated memory 2013-09-13 19:34:46 +00:00
target target/nds32_disassembler: fix format specifiers warnings 2014-02-04 21:18:27 +00:00
transport update files to correct FSF address 2013-06-05 19:52:42 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00