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:
parent
87a8583b24
commit
fb4e718261
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user