mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
system/i2c/i2c_hexdump.c: Fix a printf format warning
This commit is contained in:
parent
dcfebf1cea
commit
6db2f25f69
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ void i2ctool_hexdump(FILE *outstream, void *addr, int len)
|
|||
{
|
||||
/* print address */
|
||||
|
||||
fprintf(outstream, "%08x ", p - (uint8_t *) addr);
|
||||
fprintf(outstream, "%08tx ", p - (uint8_t *) addr);
|
||||
|
||||
/* print one line of data */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue