system/i2c/i2c_hexdump.c: Fix a printf format warning
This commit is contained in:
parent
dcfebf1cea
commit
6db2f25f69
@ -126,7 +126,7 @@ void i2ctool_hexdump(FILE *outstream, void *addr, int len)
|
|||||||
{
|
{
|
||||||
/* print address */
|
/* print address */
|
||||||
|
|
||||||
fprintf(outstream, "%08x ", p - (uint8_t *) addr);
|
fprintf(outstream, "%08tx ", p - (uint8_t *) addr);
|
||||||
|
|
||||||
/* print one line of data */
|
/* print one line of data */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user