aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r--gold/dynobj.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc
index 09e7126..5817720 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -629,7 +629,7 @@ Sized_dynobj<size, big_endian>::do_add_symbols(Symbol_table* symtab,
const int sym_size = This::sym_size;
const size_t symcount = sd->symbols_size / sym_size;
- if (symcount * sym_size != sd->symbols_size)
+ if (static_cast<off_t>(symcount * sym_size) != sd->symbols_size)
{
fprintf(stderr,
_("%s: %s: size of dynamic symbols is not "