diff options
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 1b836de..e7d6377 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -2542,7 +2542,7 @@ Layout::create_symtab_sections(const Input_objects* input_objects, } unsigned int local_symcount = local_symbol_index; - gold_assert(local_symcount * symsize == off - startoff); + gold_assert(static_cast<off_t>(local_symcount * symsize) == off - startoff); off_t dynoff; size_t dyn_global_index; |