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
This commit is contained in:
blueswir1 2009-04-13 16:31:01 +00:00
parent 14d483eca0
commit 3f4cb3d37f
13 changed files with 35 additions and 31 deletions

View file

@ -53,7 +53,7 @@ static void bt_host_send(struct HCIInfo *hci,
struct iovec iv[2];
int ret;
iv[0].iov_base = &pkt;
iv[0].iov_base = (void *)&pkt;
iv[0].iov_len = 1;
iv[1].iov_base = (void *) data;
iv[1].iov_len = len;