diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-06-07 20:36:32 +0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-06-20 14:31:33 +0200 |
commit | ad664c1d4c731c8320fb9008125fa93069a6315f (patch) | |
tree | 099f5288339b31be879a596934af09337f898958 /ui | |
parent | 709fa704f6b142f9be3a9e33a81e6d8d4c52e2de (diff) | |
download | qemu-ad664c1d4c731c8320fb9008125fa93069a6315f.zip qemu-ad664c1d4c731c8320fb9008125fa93069a6315f.tar.gz qemu-ad664c1d4c731c8320fb9008125fa93069a6315f.tar.bz2 |
console: use get_uint() for "head" property
TYPE_QEMU_CONSOLE property "head" is defined with
object_property_add_uint*_ptr().
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170607163635.17635-41-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/console.c b/ui/console.c index d914cce..40572c9 100644 --- a/ui/console.c +++ b/ui/console.c @@ -1872,8 +1872,8 @@ QemuConsole *qemu_console_lookup_by_device(DeviceState *dev, uint32_t head) if (DEVICE(obj) != dev) { continue; } - h = object_property_get_int(OBJECT(consoles[i]), - "head", &error_abort); + h = object_property_get_uint(OBJECT(consoles[i]), + "head", &error_abort); if (h != head) { continue; } |