| Submitter | Kevin Wolf |
|---|---|
| Date | June 15, 2010, 2:19 p.m. |
| Message ID | <1276611581-3757-19-git-send-email-kwolf@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/55691/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/block.c b/block.c index 383d59f..3fc2969 100644 --- a/block.c +++ b/block.c @@ -1574,7 +1574,8 @@ static QObject* bdrv_info_stats_bs(BlockDriverState *bs) "} }", bs->rd_bytes, bs->wr_bytes, bs->rd_ops, bs->wr_ops, - bs->wr_highest_sector * (long)BDRV_SECTOR_SIZE); + bs->wr_highest_sector * + (uint64_t)BDRV_SECTOR_SIZE); dict = qobject_to_qdict(res); if (*bs->device_name) {