OSDN Git Service

hw/pci-host/apb.c: Avoid shifting left into sign bit
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Mar 2014 16:00:41 +0000 (16:00 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 27 Mar 2014 15:22:49 +0000 (19:22 +0400)
commitaf23906d50c7d7c28e7e5ff49f7cbf0fa5c6228a
tree59405f7aa512be868f635dbce1422d0c6acf4e53
parent0bc60bd7b34ad6e59b47dbf91179ba9427a85df7
hw/pci-host/apb.c: Avoid shifting left into sign bit

Add U suffix to avoid undefined behaviour.

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