summaryrefslogtreecommitdiffstats
path: root/tools/ciptool.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
commit1f422e5f2b343d35a8c77ce4be16f74b2819b2bf (patch)
treee24bdebe86afcff3ce29cc0f47f05caec7ab7bc0 /tools/ciptool.c
parent952e7cc56afa29f77a828aa256985ba38a06fa80 (diff)
Fix some GCC 4.0 warnings
Diffstat (limited to 'tools/ciptool.c')
-rw-r--r--tools/ciptool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ciptool.c b/tools/ciptool.c
index 7c952cf4..38446f93 100644
--- a/tools/ciptool.c
+++ b/tools/ciptool.c
@@ -134,7 +134,8 @@ static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigne
struct hci_dev_info di;
struct sockaddr_l2 addr;
struct l2cap_options opts;
- int sk, size;
+ socklen_t size;
+ int sk;
hci_devinfo(dev_id, &di);
if (!(di.link_policy & HCI_LP_RSWITCH)) {