PR 10437
[binutils-gdb.git] / gas / config / tc-avr.c
index f9abe4ce650019e25c2ef6bb3b97101bfa83e632..eae21024c917aa4e9a589dc6d076cdbf6f14b60f 100644 (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: