diff options
author | emax <emax@FreeBSD.org> | 2006-09-21 02:32:28 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2006-09-21 02:32:28 +0000 |
commit | aed4a149cb345826733fc9f1030206fdbc6301c9 (patch) | |
tree | e36480f79cd390fcaaf8eef8470d4b8fe9f38767 /usr.sbin/bluetooth/hcsecd/hcsecd.c | |
parent | bd9e529aec2265093d4c149ba012f9199b5ff4b7 (diff) | |
download | FreeBSD-src-aed4a149cb345826733fc9f1030206fdbc6301c9.zip FreeBSD-src-aed4a149cb345826733fc9f1030206fdbc6301c9.tar.gz |
Use socklen_t instead of int32_t where appropriate to pacify new GCC4
warnings.
Submitted by: kan
MFC after: 1 week
Diffstat (limited to 'usr.sbin/bluetooth/hcsecd/hcsecd.c')
-rw-r--r-- | usr.sbin/bluetooth/hcsecd/hcsecd.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |