From 3f4cb3d37fb74db3580029624c8acd83dd5f4787 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Mon, 13 Apr 2009 16:31:01 +0000 Subject: 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 --- bt-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bt-host.c') diff --git a/bt-host.c b/bt-host.c index 3701fbdbe7..9a06578c99 100644 --- a/bt-host.c +++ b/bt-host.c @@ -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; -- cgit v1.2.1