Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 340e01248478ba8b78a6d4d1809b1eff > files > 614

kvm-83-270.el5_11.src.rpm

From 1b71cef39be299d7d6c6ade8530c19cb51dbbcf7 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Thu, 17 Sep 2009 14:06:03 -0300
Subject: [PATCH 28/38] nb_sectors should be an uint64_t

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <d31a82f5d2f63eefcbbd19354d05af640660bb14.1249487147.git.quintela@redhat.com>
Patchwork-id: 3193
O-Subject: [PATCH 29/38] nb_sectors should be an uint64_t
Bugzilla: 515749
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 qemu/hw/extboot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qemu/hw/extboot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu/hw/extboot.c b/qemu/hw/extboot.c
index c601353..32e6226 100644
--- a/qemu/hw/extboot.c
+++ b/qemu/hw/extboot.c
@@ -76,7 +76,7 @@ static void extboot_write_cmd(void *opaque, uint32_t addr, uint32_t value)
     union extboot_cmd *cmd = (void *)(phys_ram_base + ((value & 0xFFFF) << 4));
     BlockDriverState *bs = opaque;
     int cylinders, heads, sectors, err;
-    int64_t nb_sectors;
+    uint64_t nb_sectors;
     target_phys_addr_t pa;
     int blen;
     void *buf = NULL;
-- 
1.6.3.rc4.29.g8146