aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/arm.cc')
-rw-r--r--gold/arm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index 3dc2f22..31454e9 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -1202,7 +1202,7 @@ class Arm_input_section : public Output_relaxed_input_section
if ((object == this->relobj())
&& (shndx == this->shndx())
&& (offset >= 0)
- && (offset <= this->original_size_))
+ && (offset <= static_cast<section_offset_type>(this->original_size_)))
{
*poutput = offset;
return true;