diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-17 01:35:20 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-17 01:35:20 +0000 |
commit | 96b8f136f52ea2dc5948fe24f0bf4483251ac280 (patch) | |
tree | 10d16286a88c1e1dee56261a491cb9b89703460b /block.c | |
parent | bee8d6842d1421ce3456779492561a92530e9c5a (diff) | |
download | qemu-96b8f136f52ea2dc5948fe24f0bf4483251ac280.zip qemu-96b8f136f52ea2dc5948fe24f0bf4483251ac280.tar.gz qemu-96b8f136f52ea2dc5948fe24f0bf4483251ac280.tar.bz2 |
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
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -717,7 +717,7 @@ int64_t bdrv_getlength(BlockDriverState *bs) } /* return 0 as number of sectors if no device present or error */ -void bdrv_get_geometry(BlockDriverState *bs, int64_t *nb_sectors_ptr) +void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr) { int64_t length; length = bdrv_getlength(bs); |