Author: hselasky
Date: Tue Sep 6 08:15:55 2011
New Revision: 225414
URL: http://svn.freebsd.org/changeset/base/225414
Log:
Fix precedence warning when compiling kernel with clang.
Approved by: re (kib)
Submitted by: dim
MFC after: 1 week
Modified:
head/sys/dev/sound/usb/uaudio.c
Modified: head/sys/dev/sound/usb/uaudio.c
==============================================================================
--- head/sys/dev/sound/usb/uaudio.c Tue Sep 6 05:06:49 2011
(r225413)
+++ head/sys/dev/sound/usb/uaudio.c Tue Sep 6 08:15:55 2011
(r225414)
@@ -927,8 +927,8 @@ uaudio_chan_fill_info_sub(struct uaudio_
continue;
}
if (asf1d->bLength < (sizeof(*asf1d) +
- (asf1d->bSamFreqType == 0) ? 6 :
- (asf1d->bSamFreqType * 3))) {
+ ((asf1d->bSamFreqType == 0) ? 6 :
+ (asf1d->bSamFreqType * 3)))) {
DPRINTFN(11, "'asf1d' descriptor is too
short\n");
asf1d = NULL;
continue;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"