summaryrefslogtreecommitdiff
path: root/gas/config/tc-avr.c
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
commit094ad28e83738d14b811d67750b55eecf3774860 (patch)
tree749568ed4c493209b679cc27e6b793420abe8898 /gas/config/tc-avr.c
parent9a7247b6d717a5e6fad5c36f02d01ad586bf8976 (diff)
downloadbinutils-redhat-094ad28e83738d14b811d67750b55eecf3774860.tar.gz
* config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
compile time warning.
Diffstat (limited to 'gas/config/tc-avr.c')
-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 f9abe4ce65..eae21024c9 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: