From 094ad28e83738d14b811d67750b55eecf3774860 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 f2f48dfac..576c85895 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 f9abe4ce6..eae21024c 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.11.4.GIT