diff options
author | marcel <marcel@FreeBSD.org> | 2005-12-18 01:38:26 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-12-18 01:38:26 +0000 |
commit | 3394701ae17fa6037d9dc3f0da623707988cb02a (patch) | |
tree | 8a8b5e88251751631c7692cb1c131d46afb7ebd1 /libexec/rtld-elf/ia64 | |
parent | fe0631739c2c0ff4c1a5b943078bd0af48fb42a7 (diff) | |
download | FreeBSD-src-3394701ae17fa6037d9dc3f0da623707988cb02a.zip FreeBSD-src-3394701ae17fa6037d9dc3f0da623707988cb02a.tar.gz |
Explicitly cast ELF_R_TYPE() to the right type.
Diffstat (limited to 'libexec/rtld-elf/ia64')
-rw-r--r-- | libexec/rtld-elf/ia64/reloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/ia64/reloc.c b/libexec/rtld-elf/ia64/reloc.c index d718293..0c1621a 100644 --- a/libexec/rtld-elf/ia64/reloc.c +++ b/libexec/rtld-elf/ia64/reloc.c @@ -318,9 +318,9 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela, break; default: - _rtld_error("%s: Unsupported relocation type %d" + _rtld_error("%s: Unsupported relocation type %u" " in non-PLT relocations\n", obj->path, - ELF_R_TYPE(rela->r_info)); + (unsigned int)ELF_R_TYPE(rela->r_info)); return -1; } |