openocd/src/jtag/aice
Antonio Borneo c8f92ee73b jtag/aice: fix build with clang on MacOS
Commit fceb29d03f ("jtag/aice: use macros in place of const
variables") replaces some 'static const uint8_t' with macros.
This breaks the build on MacOS because the macro values are of
'int' type that doesn't match with the printf format 'PRIx8'.

	error: format specifies type 'unsigned char' but the
	argument has type 'int' [-Werror,-Wformat]

Replace the printf format 'PRIx8' with 'x'.
While there, remove a useless cast to uint32_t and fix the printf
format too.

Change-Id: Ib87298a61637b75a2813f209e5209d39ab2745f8
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Fixes: fceb29d03f ("jtag/aice: use macros in place of const variables")
Reviewed-on: http://openocd.zylin.com/6380
Tested-by: jenkins
2021-07-31 10:06:36 +01:00
..
aice_interface.c openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
aice_interface.h nds32: Add jtag scan_chain command 2018-03-12 14:12:59 +00:00
aice_pipe.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
aice_pipe.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
aice_port.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
aice_port.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
aice_transport.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
aice_transport.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
aice_usb.c jtag/aice: fix build with clang on MacOS 2021-07-31 10:06:36 +01:00
aice_usb.h drivers: libusb1_common code cleanup 2020-03-03 07:24:33 +00:00
Makefile.am openocd: drop dependency from libusb0 2021-04-05 23:25:34 +01:00