diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-02 20:52:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-02 20:52:18 +0000 |
commit | f5c3f2256ff4090c1d4a7d023c327eaed335ec27 (patch) | |
tree | 74bc6f47a27c846969a81db10d74492bf42b6db8 /gold/layout.cc | |
parent | e31dcd201e98f9a12d0cc5d77da608f9b4635cd6 (diff) | |
download | fsf-binutils-gdb-f5c3f2256ff4090c1d4a7d023c327eaed335ec27.zip fsf-binutils-gdb-f5c3f2256ff4090c1d4a7d023c327eaed335ec27.tar.gz fsf-binutils-gdb-f5c3f2256ff4090c1d4a7d023c327eaed335ec27.tar.bz2 |
From Craig Silverstein: avoid some signed/unsigned warnings from gcc 4.2.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r-- | gold/layout.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/layout.cc b/gold/layout.cc index 83c8c6a..9dad4b0 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -891,7 +891,7 @@ Layout::create_symtab_sections(const Input_objects* input_objects, off_t locsize = dyn_global_index * this->dynsym_section_->entsize(); dynoff = this->dynsym_section_->offset() + locsize; dyncount = (this->dynsym_section_->data_size() - locsize) / symsize; - gold_assert(dyncount * symsize + gold_assert(static_cast<off_t>(dyncount * symsize) == this->dynsym_section_->data_size() - locsize); } |