aboutsummaryrefslogtreecommitdiff
path: root/gold/mapfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/mapfile.cc')
-rw-r--r--gold/mapfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/mapfile.cc b/gold/mapfile.cc
index 9cec366..a3ba52b 100644
--- a/gold/mapfile.cc
+++ b/gold/mapfile.cc
@@ -253,7 +253,7 @@ Mapfile::print_input_section(Relobj* relobj, unsigned int shndx)
{
os = relobj->output_section(shndx);
addr = relobj->output_section_offset(shndx);
- if (addr != -1U)
+ if (addr != -1ULL)
addr += os->address();
}