Cast to unsigned for %#jx.
Noticed by: jh@
This commit is contained in:
parent
7792754061
commit
63a896e49b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226246
@ -114,7 +114,7 @@ struct ktr_header ktr_header;
|
||||
if (decimal) \
|
||||
printf("%c%jd", c, (intmax_t)*i); \
|
||||
else \
|
||||
printf("%c%#jx", c, (intmax_t)*i); \
|
||||
printf("%c%#jx", c, (uintmax_t)*i); \
|
||||
i++; \
|
||||
n--; \
|
||||
c = ','; \
|
||||
|
Loading…
Reference in New Issue
Block a user