mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 20:41:52 -06:00
pvpanic: use get_uint() for "ioport" property
TYPE_ISA_PVPANIC_DEVICE's property PVPANIC_IOPORT_PROP is defined with DEFINE_PROP_UINT16(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20170607163635.17635-37-marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
1eb4243434
commit
07fe095452
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ uint16_t pvpanic_port(void)
|
||||||
if (!o) {
|
if (!o) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return object_property_get_int(o, PVPANIC_IOPORT_PROP, NULL);
|
return object_property_get_uint(o, PVPANIC_IOPORT_PROP, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Property pvpanic_isa_properties[] = {
|
static Property pvpanic_isa_properties[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue