From: Nick Clifton Date: Fri, 17 Jul 2009 15:22:11 +0000 (+0000) Subject: * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid X-Git-Tag: msnyder-checkpoint-072509-branchpoint~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a61a9fbcb3b108f726f596a9385a39cdc9e97411;p=external%2Fbinutils.git * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid compile time warning. --- 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 + + * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid + compile time warning. + 2009-07-16 H.J. Lu * 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: