qemu-irix/include/hw
Stefan Weil c0f896810b virtio: Fix wrong type cast from pointer to long
Compiler warning (w32, w64):

include/hw/virtio/virtio_ring.h:142:26: warning:
 cast from pointer to integer of different size [-Wpointer-to-int-cast]

When sizeof(long) < sizeof(void *), this is not only a warning but a
real program error.

Add also missing blanks in the same statement.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1411536002-14088-1-git-send-email-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-09-24 12:51:38 +01:00
..
acpi
arm
audio
block
char
cpu
cris
i2c
i386
input
intc
ipack
isa
kvm
lm32
m68k
mem
mips
misc
net
nvram
pci
pci-host
ppc
s390x s390x: remove duplicate defines in SCLP code 2014-09-23 14:10:17 +02:00
scsi
sh4
sparc
timer
tricore
unicore32
usb
virtio virtio: Fix wrong type cast from pointer to long 2014-09-24 12:51:38 +01:00
xen
boards.h
bt.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
ptimer.h
qdev-core.h qdev: Move global validation to a single function 2014-09-18 21:51:24 +03:00
qdev-dma.h
qdev-properties.h
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h usb-bus: introduce a wrapper function to check speed 2014-09-23 12:51:08 +02:00