hw/intc/xilinx_intc: Avoid shifting left into sign bit
commit0bc60bd7b34ad6e59b47dbf91179ba9427a85df7
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Mar 2014 16:00:40 +0000 (17 16:00 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 27 Mar 2014 15:22:49 +0000 (27 19:22 +0400)
tree149f10efad311812ea0549bde5d7692abfd420c0
parent7d45e784015971e70239e33256fd606638107a3e
hw/intc/xilinx_intc: Avoid shifting left into sign bit

Avoid undefined behaviour shifting left into the sign bit.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/intc/xilinx_intc.c