aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutf1.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-15 09:00:09 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-15 09:00:09 +0000
commitf8e01940189dfd4a06f8818d4442ce6d39fd9539 (patch)
tree6100ef7299d0808978b22575fea4c1c4df1ea80d /bfd/aoutf1.h
parentdac4929a6d43b500b573166e53a6706789c7cad1 (diff)
downloadgdb-f8e01940189dfd4a06f8818d4442ce6d39fd9539.zip
gdb-f8e01940189dfd4a06f8818d4442ce6d39fd9539.tar.gz
gdb-f8e01940189dfd4a06f8818d4442ce6d39fd9539.tar.bz2
* 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.
Diffstat (limited to 'bfd/aoutf1.h')
-rw-r--r--bfd/aoutf1.h2
1 files changed, 1 insertions, 1 deletions
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) {