aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-12-27 11:55:37 +0000
committerNick Clifton <nickc@redhat.com>2005-12-27 11:55:37 +0000
commit0359e808fd2db8900a9ee07b44c288662094ae8b (patch)
tree1534897ee6082e70450d5a1fc3e52714e42e0cfb /gas/config
parent590f19724dc1246f8ef53f536ec26ce08987f7c7 (diff)
downloadgdb-0359e808fd2db8900a9ee07b44c288662094ae8b.zip
gdb-0359e808fd2db8900a9ee07b44c288662094ae8b.tar.gz
gdb-0359e808fd2db8900a9ee07b44c288662094ae8b.tar.bz2
PR 1300
* config/tc-arm.c (md_apply_fix): Fix casts to match type in printf format.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index a2baa32..4ea80b9 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -11747,8 +11747,9 @@ md_apply_fix (fixS * fixP,
if (value & 3)
as_bad_where (fixP->fx_file, fixP->fx_line,
_("invalid offset, target not word aligned (0x%08lX)"),
- (((unsigned int) fixP->fx_frag->fr_address
- + (unsigned int) fixP->fx_where) & ~3) + value);
+ (((unsigned long) fixP->fx_frag->fr_address
+ + (unsigned long) fixP->fx_where) & ~3)
+ + (unsigned long) value);
if (value & ~0x3fc)
as_bad_where (fixP->fx_file, fixP->fx_line,