diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-02-02 11:35:31 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2012-02-02 11:35:31 +0000 |
commit | cd99171ce11492f3cbbbbdae988601d0124bd4ef (patch) | |
tree | 541e16025e2f08209db79c0813091f1c23552d78 /bfd/archive.c | |
parent | f6616a063ce25130bc4abe5e52d3d2a2c009a88b (diff) | |
download | gdb-cd99171ce11492f3cbbbbdae988601d0124bd4ef.zip gdb-cd99171ce11492f3cbbbbdae988601d0124bd4ef.tar.gz gdb-cd99171ce11492f3cbbbbdae988601d0124bd4ef.tar.bz2 |
2012-02-02 Tristan Gingold <gingold@adacore.com>
* archive.c (bfd_slurp_armap): Fix thinko in cast.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r-- | bfd/archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/archive.c b/bfd/archive.c index 86c62a5..fd44f54 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -1103,7 +1103,7 @@ bfd_slurp_armap (bfd *abfd) /* Read the extended name. We know its length. */ if (bfd_bread (extname, 20, abfd) != 20) return FALSE; - if (bfd_seek (abfd, (file_ptr) -(sizeof (hdr) + 20), SEEK_CUR) != 0) + if (bfd_seek (abfd, -(file_ptr) (sizeof (hdr) + 20), SEEK_CUR) != 0) return FALSE; if (CONST_STRNEQ (extname, "__.SYMDEF SORTED") || CONST_STRNEQ (extname, "__.SYMDEF")) |