aboutsummaryrefslogtreecommitdiff
path: root/gold/aarch64.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-12-14 06:59:20 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-12-14 06:59:20 -0800
commitadd6016bac156e40e60bf21a2c2c8ed3015db049 (patch)
tree19afda94e2fc1f2c256657ffd386945530b61770 /gold/aarch64.cc
parent89e7505fcde4bd83948f559f429a0e1eb4262f05 (diff)
downloadgdb-add6016bac156e40e60bf21a2c2c8ed3015db049.zip
gdb-add6016bac156e40e60bf21a2c2c8ed3015db049.tar.gz
gdb-add6016bac156e40e60bf21a2c2c8ed3015db049.tar.bz2
Cast current_group_size to unsigned long
* aarch64.cc (AArch64_relocate_functions::maybe_apply_stub): Cast current_group_size to unsigned long when reporting error.
Diffstat (limited to 'gold/aarch64.cc')
-rw-r--r--gold/aarch64.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/aarch64.cc b/gold/aarch64.cc
index f2505d6..05933e0 100644
--- a/gold/aarch64.cc
+++ b/gold/aarch64.cc
@@ -4205,7 +4205,7 @@ maybe_apply_stub(unsigned int r_type,
if (status != This::STATUS_OKAY)
gold_error(_("Stub is too far away, try a smaller value "
"for '--stub-group-size'. The current value is 0x%lx."),
- current_group_size);
+ static_cast<unsigned long>(current_group_size));
return true;
}