aboutsummaryrefslogtreecommitdiff
path: root/include/hw/isa
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-03-08 23:39:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-12 16:12:48 +0100
commit4e00105a76c9c3502ca1fec0c73ea3f57b72f21b (patch)
treefa721aa26825f9618661355c0348a9dd562b8e32 /include/hw/isa
parent010d2dc4731d00d6c8e05ad333104d258180c19a (diff)
downloadqemu-4e00105a76c9c3502ca1fec0c73ea3f57b72f21b.zip
qemu-4e00105a76c9c3502ca1fec0c73ea3f57b72f21b.tar.gz
qemu-4e00105a76c9c3502ca1fec0c73ea3f57b72f21b.tar.bz2
hw/isa/pc87312: Use uint16_t for the ISA I/O base address
This matches the isa_register_ioport() prototype. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180308223946.26784-7-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/isa')
-rw-r--r--include/hw/isa/pc87312.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/isa/pc87312.h b/include/hw/isa/pc87312.h
index 710eb1c..b65b219 100644
--- a/include/hw/isa/pc87312.h
+++ b/include/hw/isa/pc87312.h
@@ -34,7 +34,7 @@
typedef struct PC87312State {
ISADevice dev;
- uint32_t iobase;
+ uint16_t iobase;
uint8_t config; /* initial configuration */
struct {