* config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid

compile time warning.
This commit is contained in:
Nick Clifton 2009-07-17 15:22:11 +00:00
parent 008f4c7834
commit a61a9fbcb3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-07-17 Nick Clifton <nickc@redhat.com>
* config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
compile time warning.
2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Only check i.operands for AX.

View File

@ -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: