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/bthidd/server.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/bthidd/server.c')
-rw-r--r-- | usr.sbin/bluetooth/bthidd/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/bthidd/server.c b/usr.sbin/bluetooth/bthidd/server.c index 2ed2fe4..d76bd62 100644 --- a/usr.sbin/bluetooth/bthidd/server.c +++ b/usr.sbin/bluetooth/bthidd/server.c @@ -223,7 +223,8 @@ server_accept(bthid_server_p srv, int32_t fd) bthid_session_p s; hid_device_p d; struct sockaddr_l2cap l2addr; - int32_t len, new_fd; + int32_t new_fd; + socklen_t len; len = sizeof(l2addr); if ((new_fd = accept(fd, (struct sockaddr *) &l2addr, &len)) < 0) { |