cvs commit: src/sys/dev/sound/pcm channel.c

Robert Watson rwatson at FreeBSD.org
Tue Nov 15 09:59:01 GMT 2005


On Tue, 15 Nov 2005, Alexander Leidinger wrote:

>>  Modified files:
>>    sys/dev/sound/pcm    channel.c
>>  Log:
>>  Unbreak kernel builds.
>> 
>>  Submitted by:   arr
>
> Hos does the change from "min & (min-1) == 0" to "(min & (min-1)) == 0" 
> fix the building of a kernel (what was the error message from gcc)?

Probably a combination of -Wall and -Werror, which generally generates a 
warning along the following lines:

     warning: suggest parentheses around comparison in operand of &

Robert N M Watson


More information about the cvs-src mailing list