aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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/config
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/config')
-rw-r--r--gas/config/tc-avr.c2
1 files changed, 1 insertions, 1 deletions
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: