From f8e01940189dfd4a06f8818d4442ce6d39fd9539 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 15 Oct 1992 09:00:09 +0000 Subject: * aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c, coffcode.h, elf.c, ieee.c, libaout.h, libbfd.c, oasys.c, sco-core.c: Lint: Second argument of bfd_seek is always file_ptr. Third argument is SEEK_SET or SEEK_CUR. Result is always 0 or -1. --- bfd/aoutf1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/aoutf1.h') diff --git a/bfd/aoutf1.h b/bfd/aoutf1.h index e7aa1ed..da933cd 100644 --- a/bfd/aoutf1.h +++ b/bfd/aoutf1.h @@ -393,7 +393,7 @@ DEFUN(sunos4_core_file_p,(abfd), if (core_size > 20000) return 0; - if (bfd_seek (abfd, 0L, false) < 0) return 0; + if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) < 0) return 0; mergem = (struct mergem *)bfd_zalloc (abfd, core_size + sizeof (struct mergem)); if (mergem == NULL) { -- cgit v1.1