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 /usr.sbin/kldxref/ef_sparc64.c | |
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 'usr.sbin/kldxref/ef_sparc64.c')
-rw-r--r-- | usr.sbin/kldxref/ef_sparc64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kldxref/ef_sparc64.c b/usr.sbin/kldxref/ef_sparc64.c index e5133f1..dae6488 100644 --- a/usr.sbin/kldxref/ef_sparc64.c +++ b/usr.sbin/kldxref/ef_sparc64.c @@ -59,7 +59,7 @@ ef_reloc(struct elf_file *ef, const void *reldata, int reltype, Elf_Off relbase, break; default: warnx("unhandled relocation type %u", - ELF_R_TYPE(a->r_info)); + (unsigned int)ELF_R_TYPE(a->r_info)); break; } } |