summaryrefslogtreecommitdiff
path: root/test/hstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hstest.c')
-rw-r--r--test/hstest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/hstest.c b/test/hstest.c
index f269621c..8949be4b 100644
--- a/test/hstest.c
+++ b/test/hstest.c
@@ -89,7 +89,8 @@ static int sco_connect(bdaddr_t *src, bdaddr_t *dst, uint16_t *handle, uint16_t
struct sockaddr_sco addr;
struct sco_conninfo conn;
struct sco_options opts;
- int s, size;
+ socklen_t size;
+ int s;
if ((s = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO)) < 0) {
return -1;