forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user