Update of /cvsroot/audacity/audacity-src/src/widgets
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv22145

Modified Files:
        Ruler.cpp 
Log Message:
Fix compiler error. MSVC requires both args be cast.

Index: Ruler.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/Ruler.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Ruler.cpp   20 Jun 2009 17:12:27 -0000      1.62
+++ Ruler.cpp   21 Jun 2009 01:00:10 -0000      1.63
@@ -666,7 +666,7 @@
                format.Printf(wxT("%%%d.%dlf"), mDigits+3, mDigits);
             // The casting to float is working around an issue where 59 seconds
             // would show up as 60 when using g++ (Ubuntu 4.3.3-5ubuntu4) 
4.3.3.
-            t2.Printf(format.c_str(), fmod((float)d, 60.0));
+            t2.Printf(format.c_str(), fmod((float)d, (float)60.0));
 
             s += t1 + t2;
          }


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to