diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-03-17 16:00:31 +0000 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-03-27 19:22:49 +0400 |
| commit | 6d55574a656f3a533a370156aaefedcf7980d4d8 (patch) | |
| tree | e9f4acac0a53b35d13e05dfce5c0471981f80baf /hw/pci/pci_host.c | |
| parent | 2cd49cbfab0dd294de421893048ab614518fa263 (diff) | |
| download | focaccia-qemu-6d55574a656f3a533a370156aaefedcf7980d4d8.tar.gz focaccia-qemu-6d55574a656f3a533a370156aaefedcf7980d4d8.zip | |
hw/intc/apic.c: Use uint32_t for mask word in foreach_apic
Use unsigned arithmetic for operations on the mask word in the foreach_apic() macro, to avoid relying on undefined behaviour when shifting into the sign bit. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/pci/pci_host.c')
0 files changed, 0 insertions, 0 deletions