From 96b8f136f52ea2dc5948fe24f0bf4483251ac280 Mon Sep 17 00:00:00 2001 From: ths Date: Mon, 17 Dec 2007 01:35:20 +0000 Subject: Fix bdrv_get_geometry to return uint64_t, by Andre Przywara. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3825 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/scsi-disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/scsi-disk.c') diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index d281b8cbba..220b1997cc 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -284,7 +284,7 @@ static int32_t scsi_send_command(SCSIDevice *d, uint32_t tag, uint8_t *buf, int lun) { SCSIDeviceState *s = d->state; - int64_t nb_sectors; + uint64_t nb_sectors; uint32_t lba; uint32_t len; int cmdlen; -- cgit v1.2.3