From a61a9fbcb3b108f726f596a9385a39cdc9e97411 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 17 Jul 2009 15:22:11 +0000 Subject: [PATCH] * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid compile time warning. --- gas/ChangeLog | 5 +++++ gas/config/tc-avr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index f2f48dfacfc..576c8589502 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 f9abe4ce650..eae21024c91 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: -- 2.30.2