From de52dba4abb83cdac3aae1ecdaa2c5c176b168f6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 19 Nov 2004 11:58:02 +0000 Subject: * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix. * elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl. * nlmcode.h (nlm_write_object_contents): Warning fix. --- bfd/nlmcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/nlmcode.h') diff --git a/bfd/nlmcode.h b/bfd/nlmcode.h index bf41f27..c3d6bca 100644 --- a/bfd/nlmcode.h +++ b/bfd/nlmcode.h @@ -1692,7 +1692,7 @@ nlm_write_object_contents (abfd) /* A weak check on whether the section file positions were reasonable. */ - if (bfd_tell (abfd) > (ufile_ptr) nlm_fixed_header (abfd)->codeImageOffset) + if (bfd_tell (abfd) > nlm_fixed_header (abfd)->codeImageOffset) { bfd_set_error (bfd_error_invalid_operation); goto error_return; -- cgit v1.1