X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=bt-host.c;h=9a06578c99ea2bfa04aa74eb695c6f465f08a4d8;hb=HEAD;hp=3701fbdbe776eebda99d8b5be72a6eb10e14aa6b;hpb=5ef4efa426d69643d51fc98afcee662bef6a2839;p=qemu diff --git a/bt-host.c b/bt-host.c index 3701fbd..9a06578 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;