[Kget] [Bug 148128] Compile error on Solaris 8 - kdenetwork/kget/ui/droptarget.cpp uses fabsf which is not available

Urs Wolfer uwolfer at kde.org
Mon Jul 23 19:49:07 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148128         
uwolfer kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From uwolfer kde org  2007-07-23 19:49 -------
SVN commit 691467 by uwolfer:

Use the portable fabs instead of fabsf. Fixes build problem on solaris.
BUG: 148128

 M  +1 -1      droptarget.cpp  


--- trunk/KDE/kdenetwork/kget/ui/droptarget.cpp #691466:691467
 @ -322,7 +322,7  @
 
     move(x(), (int)(position.y() * (1 + ani_y)));
 
-    if ( fabsf(ani_y) < 0.01 && fabsf(ani_vy) < 0.01 && animTimer )
+    if ( fabs(ani_y) < 0.01 && fabs(ani_vy) < 0.01 && animTimer )
     {
         animTimer->stop();
         delete animTimer;


More information about the Kget mailing list