freebsd-skq/usr.sbin/bluetooth
Eitan Adler 7a22215c53 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U << 31) which gets the
expected result.

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.

Discussed with:	-arch, rdivacky
Reviewed by:	cperciva
2013-11-30 22:17:27 +00:00
..
ath3kfw Extend ath3kfw to include overridable device / vendor IDs. 2013-04-05 23:42:22 +00:00
bcmfw
bt3cfw Plug fd leaks 2011-11-23 10:27:18 +00:00
bthidcontrol mdoc: add missing width argument to Bl -tag. 2012-06-03 06:57:47 +00:00
bthidd Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
btpand make sure that socket's send and receive buffers are properly sized 2012-10-18 16:34:00 +00:00
hccontrol Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
hcsecd Fix world after byacc import: 2012-05-22 16:33:10 +00:00
hcseriald A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
l2control mdoc: add missing width argument to Bl -tag. 2012-06-03 06:57:47 +00:00
l2ping Remove contractions. 2013-04-11 18:46:41 +00:00
rfcomm_pppd
sdpcontrol mdoc: add missing width argument to Bl -tag. 2012-06-03 06:57:47 +00:00
sdpd Touch up some more small typos missed in the previous round. 2012-01-05 21:36:45 +00:00
Makefile Add firmware downloader for Atheros AR3011 based USB Bluetooth devices. 2010-11-12 19:43:12 +00:00
Makefile.inc