diff options
author | 2009-04-13 16:31:01 +0000 | |
---|---|---|
committer | 2009-04-13 16:31:01 +0000 | |
commit | 3f4cb3d37fb74db3580029624c8acd83dd5f4787 (patch) | |
tree | 3c6d13cb27ef0fb8d2ff465ba31d3b4647ec1c27 /block.c | |
parent | Fix OpenSolaris softfloat warnings (diff) | |
download | qemu-kvm-3f4cb3d37fb74db3580029624c8acd83dd5f4787.tar.gz qemu-kvm-3f4cb3d37fb74db3580029624c8acd83dd5f4787.tar.bz2 qemu-kvm-3f4cb3d37fb74db3580029624c8acd83dd5f4787.zip |
Fix OpenSolaris gcc4 warnings: iovec type mismatches, missing 'static'
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7103 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1434,7 +1434,7 @@ static int bdrv_read_em(BlockDriverState *bs, int64_t sector_num, QEMUIOVector qiov; async_ret = NOT_DONE; - iov.iov_base = buf; + iov.iov_base = (void *)buf; iov.iov_len = nb_sectors * 512; qemu_iovec_init_external(&qiov, &iov, 1); acb = bdrv_aio_readv(bs, sector_num, &qiov, nb_sectors, |