[avr,applied] Fix a build warning in avr-passes.cc
Checks
Commit Message
Applied this patchlet for a build warning.
Johann
--
AVR: avr-passes.cc - Fix a build warning.
gcc/
* config/avr/avr-passes.cc
(avr_split_fake_addressing_move): Fix
a build warning.
switch (addr_code)
{
@@ -1788,7 +1788,8 @@ avr_split_fake_addressing_move (rtx_insn *
/*insn*/, rtx *xop)
HOST_WIDE_INT add = 0, sub = 0;
int msize = GET_MODE_SIZE (mode);
- AVR_LdSt_Props ap { REGNO (base), store_p, volatile_p,
ADDR_SPACE_GENERIC };
+ AVR_LdSt_Props ap { (int) REGNO (base), store_p, volatile_p,
+ ADDR_SPACE_GENERIC };