Message ID | 1497016045-6009-37-git-send-email-armbru@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index 57da7f2..2b1e9a6 100644 --- a/hw/misc/pvpanic.c +++ b/hw/misc/pvpanic.c @@ -111,7 +111,7 @@ uint16_t pvpanic_port(void) if (!o) { 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[] = {