+2006-07-12 Roland McGrath <roland@redhat.com>
+
+ * readelf.c (handle_gnu_hash): Add casts for machines where
+ Elf32_Word != unsigned int.
+
2006-07-12 Ulrich Drepper <drepper@redhat.com>
* elflint.c (check_sysv_hash64): Fix printf format.
if (asprintf (&str, gettext ("\
Symbol Bias: %u\n\
Bitmask Size: %zu bytes %" PRIuFAST32 "%% bits set 2nd hash shift: %u\n"),
- symbias, bitmask_words * sizeof (Elf32_Word),
- (nbits * 100 + 50) / (bitmask_words * sizeof (Elf32_Word) * 8),
- shift) == -1)
+ (unsigned int) symbias, bitmask_words * sizeof (Elf32_Word),
+ ((nbits * 100 + 50)
+ / (uint_fast32_t) (bitmask_words * sizeof (Elf32_Word) * 8)),
+ (unsigned int) shift) == -1)
error (EXIT_FAILURE, 0, gettext ("memory exhausted"));
print_hash_info (ebl, scn, shdr, shstrndx, maxlength, nbucket, nsyms,