Cast to unsigned for %#jx.

Noticed by:	jh@
This commit is contained in:
Dag-Erling Smørgrav 2011-10-11 07:46:45 +00:00
parent 7792754061
commit 63a896e49b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226246

View File

@ -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 = ','; \