mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 16:47:30 -04:00
Use the 't' modifier to print a ptrdiff_t.
Reviewed by: imp Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D27576
This commit is contained in:
parent
d3eae37553
commit
ce8395ecfd
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ print_hex_dump(const char *level, const char *prefix_str,
|
|||
printf("[%p] ", buf);
|
||||
break;
|
||||
case DUMP_PREFIX_OFFSET:
|
||||
printf("[%p] ", (const char *)((const char *)buf -
|
||||
printf("[%#tx] ", ((const char *)buf -
|
||||
(const char *)buf_old));
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue