summaryrefslogtreecommitdiff
path: root/bfd/nlmcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/nlmcode.h')
-rw-r--r--bfd/nlmcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/nlmcode.h b/bfd/nlmcode.h
index bf41f27170..c3d6bca6b1 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;