1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/dev/sound/pci
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
..
hda Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
allegro_code.h
allegro_reg.h
als4000.c
als4000.h
atiixp.c
atiixp.h
aureal.c
aureal.h
cmi.c
cmireg.h
cs461x_dsp.h
cs4281.c
cs4281.h
csa.c
csapcm.c
csareg.h
csavar.h
ds1-fw.h
ds1.c
ds1.h
emu10k1.c
emu10kx-midi.c
emu10kx-pcm.c
emu10kx.c
emu10kx.h
emuxkireg.h
envy24.c
envy24.h
envy24ht.c
envy24ht.h
es137x.c
es137x.h
fm801.c
hdspe-pcm.c
hdspe.c
hdspe.h
ich.c
ich.h
maestro3.c
maestro_reg.h
maestro.c
neomagic-coeff.h
neomagic.c
neomagic.h
solo.c
spicds.c
spicds.h
t4dwave.c
t4dwave.h
via82c686.c
via82c686.h
via8233.c
via8233.h
vibes.c
vibes.h