hw/pci/pci_host.c: Avoid shifting left into sign bit
commitac43fa508cc1cfe6d6f67c8eb99dc012e52c164e
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Mar 2014 16:00:32 +0000 (17 16:00 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 27 Mar 2014 15:22:49 +0000 (27 19:22 +0400)
tree62817b868442eb4de0dd3605c915624de3afaffe
parent6d55574a656f3a533a370156aaefedcf7980d4d8
hw/pci/pci_host.c: Avoid shifting left into sign bit

Add U suffix to avoid undefined behaviour.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/pci/pci_host.c