diff options
author | John Gilmore <gnu@cygnus> | 1992-10-15 09:00:09 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-10-15 09:00:09 +0000 |
commit | f8e01940189dfd4a06f8818d4442ce6d39fd9539 (patch) | |
tree | 6100ef7299d0808978b22575fea4c1c4df1ea80d /bfd/coff-rs6000.c | |
parent | dac4929a6d43b500b573166e53a6706789c7cad1 (diff) | |
download | gdb-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/coff-rs6000.c')
-rw-r--r-- | bfd/coff-rs6000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 8ee70d6..0d6d4f3 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -171,7 +171,7 @@ rs6000coff_get_elt_at_filepos (archive, filepos) n_nfd = look_for_bfd_in_cache (archive, filepos); if (n_nfd) return n_nfd; - if (0 > bfd_seek (archive, filepos, SEEK_SET)) { + if (0 != bfd_seek (archive, filepos, SEEK_SET)) { bfd_error = system_call_error; return NULL; } |