aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-07-17 15:22:11 +0000
committerNick Clifton <nickc@redhat.com>2009-07-17 15:22:11 +0000
commita61a9fbcb3b108f726f596a9385a39cdc9e97411 (patch)
treee5077c5efd41eb1f41b8852fd39bfbdf0d59fbb3 /gas
parent008f4c7834e85e993c2c37957afe3bd4221050c4 (diff)
downloadgdb-a61a9fbcb3b108f726f596a9385a39cdc9e97411.zip
gdb-a61a9fbcb3b108f726f596a9385a39cdc9e97411.tar.gz
gdb-a61a9fbcb3b108f726f596a9385a39cdc9e97411.tar.bz2
* config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
compile time warning.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-avr.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f2f48df..576c858 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-17 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
+ compile time warning.
+
2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Only check i.operands for AX.
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index f9abe4c..eae2102 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -1244,7 +1244,7 @@ md_apply_fix (fixS *fixP, valueT * valP, segT seg)
}
else
{
- switch (fixP->fx_r_type)
+ switch ((int) fixP->fx_r_type)
{
case -BFD_RELOC_AVR_HI8_LDI_NEG:
case -BFD_RELOC_AVR_HI8_LDI: