diff options
author | Alexander Graf <agraf@suse.de> | 2010-11-25 08:20:46 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar@axis.com> | 2010-12-08 21:30:19 +0100 |
commit | 138b38b61bf92d4e9588acf934e532499c94e185 (patch) | |
tree | 0661194c38fa7174bf6e75a71ecb7921eb5fdc3b /target-ppc/kvm.c | |
parent | 2c90fe2b71df2534884bce96d90cbfcc93aeedb8 (diff) | |
download | qemu-138b38b61bf92d4e9588acf934e532499c94e185.tar.gz qemu-138b38b61bf92d4e9588acf934e532499c94e185.tar.bz2 qemu-138b38b61bf92d4e9588acf934e532499c94e185.zip |
ppc: kvm: fix signedness warning
I get a warning on a signed comparison with an unsigned variable, so
let's make the variable signed and be happy.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'target-ppc/kvm.c')
-rw-r--r-- | target-ppc/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index 5cacef7b58..5caa07cba8 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -132,7 +132,7 @@ int kvm_arch_get_registers(CPUState *env) { struct kvm_regs regs; struct kvm_sregs sregs; - uint32_t i, ret; + int i, ret; ret = kvm_vcpu_ioctl(env, KVM_GET_REGS, ®s); if (ret < 0) |