We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ac0b65 commit 56afadaCopy full SHA for 56afada
common/usb_log.h
@@ -86,12 +86,12 @@ void usb_assert(const char *filename, int linenum);
86
static inline void usb_hexdump(const void *ptr, uint32_t buflen)
87
{
88
unsigned char *buf = (unsigned char *)ptr;
89
- uint32_t i, j;
+ unsigned int i, j;
90
91
(void)buf;
92
93
for (i = 0; i < buflen; i += 16) {
94
- CONFIG_USB_PRINTF("%08lx:", i);
+ CONFIG_USB_PRINTF("%08x:", i);
95
96
for (j = 0; j < 16; j++)
97
if (i + j < buflen) {
0 commit comments