aboutsummaryrefslogtreecommitdiff
path: root/bt-host.c
diff options
context:
space:
mode:
Diffstat (limited to 'bt-host.c')
-rw-r--r--bt-host.c2
1 files changed, 1 insertions, 1 deletions
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;