From aed4a149cb345826733fc9f1030206fdbc6301c9 Mon Sep 17 00:00:00 2001 From: emax Date: Thu, 21 Sep 2006 02:32:28 +0000 Subject: Use socklen_t instead of int32_t where appropriate to pacify new GCC4 warnings. Submitted by: kan MFC after: 1 week --- usr.sbin/bluetooth/hcsecd/hcsecd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bluetooth/hcsecd') diff --git a/usr.sbin/bluetooth/hcsecd/hcsecd.c b/usr.sbin/bluetooth/hcsecd/hcsecd.c index a1b72a3..d83e04b 100644 --- a/usr.sbin/bluetooth/hcsecd/hcsecd.c +++ b/usr.sbin/bluetooth/hcsecd/hcsecd.c @@ -65,7 +65,8 @@ static void usage int main(int argc, char *argv[]) { - int n, detach, sock, size; + int n, detach, sock; + socklen_t size; struct sigaction sa; struct sockaddr_hci addr; struct ng_btsocket_hci_raw_filter filter; -- cgit v1.1