Update of /cvsroot/alsa/alsa-utils/alsamixer In directory sc8-pr-cvs1:/tmp/cvs-serv22969
Modified Files: alsamixer.c Log Message: Use float to avoid overflow Index: alsamixer.c =================================================================== RCS file: /cvsroot/alsa/alsa-utils/alsamixer/alsamixer.c,v retrieving revision 1.67 retrieving revision 1.68 diff -u -r1.67 -r1.68 --- alsamixer.c 22 Jul 2003 16:38:25 -0000 1.67 +++ alsamixer.c 11 Aug 2003 09:42:16 -0000 1.68 @@ -468,7 +468,7 @@ static int mixer_conv(int val, int omin, int omax, int nmin, int nmax) { - int orange = omax - omin, nrange = nmax - nmin; + float orange = omax - omin, nrange = nmax - nmin; if (orange == 0) return 0; ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog