freebsd-nq/sys/dev/bktr
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
..
bktr_audio.c
bktr_audio.h
bktr_card.c
bktr_card.h
bktr_core.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
bktr_core.h
bktr_i2c.c
bktr_i2c.h
bktr_mem.c
bktr_mem.h
bktr_os.c
bktr_os.h
bktr_reg.h
bktr_tuner.c
bktr_tuner.h
CHANGELOG.TXT
ioctl_bt848.h
ioctl_meteor.h Use standard types in preference to BSD types so that these header files 2010-03-28 00:10:09 +00:00
msp34xx.c