Update of /cvsroot/alsa/alsa-driver/isa
In directory usw-pr-cvs1:/tmp/cvs-serv12844

Modified Files:
        sscape.c 
Log Message:
use min() macro again.



Index: sscape.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/isa/sscape.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sscape.c    4 Oct 2002 12:45:16 -0000       1.6
+++ sscape.c    7 Oct 2002 10:59:39 -0000       1.7
@@ -469,9 +469,7 @@
         * board through the DMA channel ...
         */
        while (size != 0) {
-               unsigned long len;
-
-               len = size < dma.size ? size : dma.size;
+               unsigned long len = min(size, dma.size);
 
                /*
                 * Remember that the data that we want to DMA



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to