qemu-irix/hw/ide
John Snow 159a9df021 ide: fix enum comparison for gcc 4.7
Apparently GCC gets bent over comparing enum values against zero.
Replace the conditional with something less readable.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20170921013821.1673-1-jsnow@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-09-22 13:23:53 +01:00
..
Makefile.objs
ahci.c ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
ahci_internal.h
atapi.c
cmd646.c
core.c ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
ich.c
isa.c
macio.c
microdrive.c
mmio.c
pci.c
piix.c
qdev.c
trace-events
via.c