]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainUSBAddressAddHubs: use numeric comparison
authorJán Tomko <jtomko@redhat.com>
Tue, 13 Mar 2018 09:38:48 +0000 (10:38 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 13 Mar 2018 09:38:48 +0000 (10:38 +0100)
commit1ab25747319f2c4f37c702a0b0a2e31ee3a60dab
tree366884fb3a255d50f9b86aacc5d5fe2cf61075cc
parentc8ab5aeb1435f49fa69cc95f3857fccb21c28646
qemuDomainUSBAddressAddHubs: use numeric comparison

Since data.count is not a pointer, but an integer,
compare it against an integer value instead of using
the implicit "boolean" conversion that is customarily
used for pointers.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain_address.c