readelf: fix i386 build

Use %jx and (uintmax_t) cast.

PR:		232983
MFC with:	r343592
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2019-01-30 21:46:12 +00:00
parent 87a8583b24
commit fb4e718261

View File

@ -2841,7 +2841,7 @@ dump_dt_flags_val(uint64_t d_val)
printf(" STATIC_TLS");
}
if (d_val)
printf(" %lx", d_val);
printf(" %jx", (uintmax_t)d_val);
printf("\n");
}
@ -2945,7 +2945,7 @@ dump_dt_flags_1_val(uint64_t d_val)
printf(" GLOBAUDIT");
}
if (d_val)
printf(" %lx", d_val);
printf(" %jx", (uintmax_t)d_val);
printf("\n");
}