Received: from [140.186.70.92] (port=35987 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLW8Q-0001hH-26 for qemu-devel@nongnu.org; Thu, 25 Nov 2010 02:20:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLW8O-0006Pg-36 for qemu-devel@nongnu.org; Thu, 25 Nov 2010 02:20:49 -0500 Received: from cantor2.suse.de ([195.135.220.15]:55991 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLW8N-0006PF-UL for qemu-devel@nongnu.org; Thu, 25 Nov 2010 02:20:48 -0500 From: Alexander Graf Date: Thu, 25 Nov 2010 08:20:46 +0100 Message-Id: <1290669646-12150-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] ppc: kvm: fix signedness warning List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel Developers Cc: Avi Kivity 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 --- 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 5cacef7..5caa07c 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) -- 1.6.0.2