Search
lxdream.org :: lxdream/src/drivers/cdrom/cdrom.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/cdrom/cdrom.c
changeset 1298:d0eb2307b847
prev1296:30ecee61f811
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (5 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/drivers/cdrom/cdrom.c Sat Jan 26 14:00:48 2013 +1000
1.2 +++ b/src/drivers/cdrom/cdrom.c Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -161,7 +161,7 @@
1.4 {
1.5 int type = CDROM_DISC_NONE, i;
1.6 for( i=0; i<disc->track_count; i++ ) {
1.7 - if( (disc->track[i].flags & TRACK_FLAG_DATA == 0) ) {
1.8 + if( ((disc->track[i].flags & TRACK_FLAG_DATA) == 0) ) {
1.9 if( type == CDROM_DISC_NONE )
1.10 type = CDROM_DISC_AUDIO;
1.11 } else if( disc->track[i].source != NULL &&
.