diff options
author | Max Reitz <mreitz@redhat.com> | 2019-06-24 21:39:13 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-05 22:16:46 +0200 |
commit | 9dc83cd9c3cd766263a7180bccaf67afe970d816 (patch) | |
tree | 49baa2be678eb6557ea3b00a3961e34f017bb502 /module-common.c | |
parent | c20b139620498b2f158b52e0c4ad7f6de35a520e (diff) | |
download | qemu-9dc83cd9c3cd766263a7180bccaf67afe970d816.zip qemu-9dc83cd9c3cd766263a7180bccaf67afe970d816.tar.gz qemu-9dc83cd9c3cd766263a7180bccaf67afe970d816.tar.bz2 |
i386/kvm: Fix build with -m32
find_next_bit() takes a pointer of type "const unsigned long *", but the
first argument passed here is a "uint64_t *". These types are
incompatible when compiling qemu with -m32.
Just use ctz64() instead.
Fixes: c686193072a47032d83cb4e131dc49ae30f9e5d
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190624193913.28343-1-mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions