diff options
Diffstat (limited to 'include/hw/isa/isa.h')
-rw-r--r-- | include/hw/isa/isa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h index c2fdd70..9559340 100644 --- a/include/hw/isa/isa.h +++ b/include/hw/isa/isa.h @@ -29,7 +29,7 @@ static inline uint16_t applesmc_port(void) Object *obj = object_resolve_path_type("", TYPE_APPLE_SMC, NULL); if (obj) { - return object_property_get_int(obj, APPLESMC_PROP_IO_BASE, NULL); + return object_property_get_uint(obj, APPLESMC_PROP_IO_BASE, NULL); } return 0; } |