[Plib-cvs] plib/src/sl slEnvelope.cxx,1.6,1.7
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-04-06 14:38:52
|
Update of /cvsroot/plib/plib/src/sl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29176/plib/src/sl Modified Files: slEnvelope.cxx Log Message: Yet another double-->float warning fixed! Index: slEnvelope.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/sl/slEnvelope.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- slEnvelope.cxx 6 Apr 2004 13:32:26 -0000 1.6 +++ slEnvelope.cxx 6 Apr 2004 14:26:03 -0000 1.7 @@ -183,7 +183,7 @@ register float c_v = (float) ((int)*(src++) - 0x80); register float f=_value; - p_v = p_v*(1.0-f)+ f*c_v; + p_v = p_v*(1.0f - f)+ f*c_v; register int res = (int)(p_v) + 0x80 ; _value += delta ; |